Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestD_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestD_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_bias",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 193.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.1 MB / 222.4 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05978/0.05978, allocations: 10.73 MB / 280.5 MB, free: 10.5 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 67.91 kB / 340.6 MB, free: 23.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0814/0.08312, allocations: 49.02 MB / 389.7 MB, free: 6.137 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.00352/0.08669, allocations: 2.163 MB / 391.8 MB, free: 3.953 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.0884, allocations: 1.025 MB / 392.9 MB, free: 2.918 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.08859, allocations: 11.88 kB / 392.9 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.08887, allocations: 87.41 kB / 393 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.089, allocations: 63.5 kB / 393 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007707/0.08978, allocations: 315.3 kB / 393.3 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005426/0.09033, allocations: 0.5903 MB / 393.9 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.09051, allocations: 89.27 kB / 394 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.09073, allocations: 199.3 kB / 394.2 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.09103, allocations: 247.1 kB / 394.4 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.155e-05/0.0911, allocations: 32 kB / 394.5 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.09127, allocations: 103.9 kB / 394.6 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.09144, allocations: 163.5 kB / 394.7 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.09162, allocations: 210.6 kB / 394.9 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004312/0.09206, allocations: 0.4904 MB / 395.4 MB, free: 340 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.09207, allocations: 0 / 395.4 MB, free: 340 kB / 286.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.09208, allocations: 4 kB / 395.4 MB, free: 336 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.0921, allocations: 0 / 395.4 MB, free: 336 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001282/0.09338, allocations: 0.8434 MB / 396.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.09343, allocations: 15.89 kB / 396.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.486e-05/0.09351, allocations: 82.7 kB / 396.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.037e-05/0.0936, allocations: 60.28 kB / 396.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005778/0.09419, allocations: 417.6 kB / 396.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.09424, allocations: 33.36 kB / 396.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-05/0.09435, allocations: 44.38 kB / 396.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009956/0.09536, allocations: 0.5085 MB / 397.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.0954, allocations: 11.91 kB / 397.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/0.09547, allocations: 16 kB / 397.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.09549, allocations: 12 kB / 397.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009916/0.09649, allocations: 391.7 kB / 397.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003603/0.1001, allocations: 1.794 MB / 399.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006855/0.1008, allocations: 274.4 kB / 399.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/0.1012, allocations: 180.8 kB / 400.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.1013, allocations: 4 kB / 400.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004899/0.1018, allocations: 264.9 kB / 400.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 4.349e-06/0.1018, allocations: 0 / 400.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=36): time 0.001317/0.1031, allocations: 0.574 MB / 400.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.1032, allocations: 81.38 kB / 401 MB, free: 10.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007049/0.1039, allocations: 493.8 kB / 401.5 MB, free: 10 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.1039, allocations: 29.7 kB / 401.5 MB, free: 9.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.1042, allocations: 279.8 kB / 401.8 MB, free: 9.691 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.1044, allocations: 134.2 kB / 401.9 MB, free: 9.559 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.1046, allocations: 110.1 kB / 402 MB, free: 9.445 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002471/0.1048, allocations: 366.7 kB / 402.4 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004252/0.1053, allocations: 173.1 kB / 402.5 MB, free: 8.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005084/0.1058, allocations: 325.8 kB / 402.9 MB, free: 8.523 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003039/0.1088, allocations: 1.078 MB / 403.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.1089, allocations: 0 / 403.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001576/0.1105, allocations: 0.7188 MB / 404.7 MB, free: 6.621 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.526e-05/0.1105, allocations: 52.62 kB / 404.7 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.1106, allocations: 4 kB / 404.7 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.1106, allocations: 11.94 kB / 404.7 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006793/0.1113, allocations: 131.8 kB / 404.9 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/0.1113, allocations: 12 kB / 404.9 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.1117, allocations: 63.42 kB / 404.9 MB, free: 6.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.782e-05/0.1117, allocations: 27.94 kB / 405 MB, free: 6.32 MB / 302.1 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,R_Bias.TS_in,R.TS_in,R_Bias.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004895/0.1122, allocations: 282.4 kB / 405.2 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.1124, allocations: 55.34 kB / 405.3 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.1136, allocations: 0.5098 MB / 405.8 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.1137, allocations: 4 kB / 405.8 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.1137, allocations: 0 / 405.8 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.1137, allocations: 7.922 kB / 405.8 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006645/0.1144, allocations: 480.8 kB / 406.3 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1144, allocations: 8 kB / 406.3 MB, free: 4.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006624/0.1151, allocations: 83.88 kB / 406.4 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1151, allocations: 0 / 406.4 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.225e-05/0.1151, allocations: 19.98 kB / 406.4 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1152, allocations: 0 / 406.4 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1152, allocations: 0 / 406.4 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.1167, allocations: 0.7156 MB / 407.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.1169, allocations: 132.6 kB / 407.2 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-05/0.117, allocations: 15.98 kB / 407.2 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.1172, allocations: 15.98 kB / 407.3 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/0.1173, allocations: 19.97 kB / 407.3 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.1174, allocations: 19.98 kB / 407.3 MB, free: 3.852 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005573/0.118, allocations: 335.1 kB / 407.6 MB, free: 3.527 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.118, allocations: 0 / 407.6 MB, free: 3.527 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007483/0.1187, allocations: 111.8 kB / 407.7 MB, free: 3.418 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001803/0.1205, allocations: 1.301 MB / 409 MB, free: 2.086 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.122, allocations: 0.5983 MB / 409.6 MB, free: 1.477 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.122, allocations: 0 / 409.6 MB, free: 1.477 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004693/0.1225, allocations: 271.2 kB / 409.9 MB, free: 1.199 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.123, allocations: 47.78 kB / 409.9 MB, free: 1.152 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008744/0.1317, allocations: 4.98 MB / 414.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000814/0.1326, allocations: 0.8781 MB / 415.8 MB, free: 11.03 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004501/0.133, allocations: 116.1 kB / 415.9 MB, free: 10.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.1334, allocations: 179.4 kB / 416.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1334, allocations: 0 / 416.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.1632, allocations: 8.83 MB / 424.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/7.862, allocations: 10.97 kB / 424.9 MB, free: 1.938 MB / 318.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_bias_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1)