Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.TestPD_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPD_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPD_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPD_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.001423/0.001424, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.4 MB / 222.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05599/0.05599, allocations: 10.73 MB / 281.1 MB, free: 10.45 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.0005123/0.0005123, allocations: 18.95 kB / 341.7 MB, free: 23.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1143, allocations: 49.99 MB / 391.7 MB, free: 5.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.002655/0.117, allocations: 1.805 MB / 393.5 MB, free: 3.887 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.1187, allocations: 0.9792 MB / 394.5 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.1189, allocations: 11.88 kB / 394.5 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.1192, allocations: 59.67 kB / 394.5 MB, free: 2.828 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.1193, allocations: 59.84 kB / 394.6 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000761/0.1201, allocations: 247.4 kB / 394.8 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004788/0.1206, allocations: 340.8 kB / 395.2 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.1208, allocations: 72.98 kB / 395.2 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.121, allocations: 183.3 kB / 395.4 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.1213, allocations: 211.1 kB / 395.6 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.697e-05/0.1214, allocations: 19.94 kB / 395.6 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.1215, allocations: 75.94 kB / 395.7 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.1217, allocations: 127.6 kB / 395.8 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.1218, allocations: 101.4 kB / 395.9 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.1222, allocations: 355.5 kB / 396.3 MB, free: 1.055 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1222, allocations: 0 / 396.3 MB, free: 1.055 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1223, allocations: 0 / 396.3 MB, free: 1.055 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.1223, allocations: 0 / 396.3 MB, free: 1.055 MB / 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.001346/0.1236, allocations: 0.7733 MB / 397.1 MB, free: 232 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.1237, allocations: 12.03 kB / 397.1 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.1238, allocations: 78.48 kB / 397.2 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.1239, allocations: 67.19 kB / 397.2 MB, free: 64 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006393/0.1246, allocations: 400.8 kB / 397.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.1246, allocations: 29 kB / 397.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.871e-05/0.1247, allocations: 43.91 kB / 397.7 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008174/0.1255, allocations: 0.5122 MB / 398.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.1256, allocations: 0 / 398.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/0.1256, allocations: 20 kB / 398.2 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.1256, allocations: 15.95 kB / 398.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006536/0.1263, allocations: 395.6 kB / 398.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.1292, allocations: 1.798 MB / 400.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.1297, allocations: 277 kB / 400.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.1298, allocations: 4 kB / 400.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003993/0.1302, allocations: 260.8 kB / 400.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.533e-06/0.1302, allocations: 0 / 400.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=36): time 0.001053/0.1312, allocations: 0.6612 MB / 401.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.1313, allocations: 81.38 kB / 401.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005533/0.1319, allocations: 0.4899 MB / 402.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.1319, allocations: 37.7 kB / 402.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.1322, allocations: 276 kB / 402.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.1323, allocations: 138.1 kB / 402.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.1323, allocations: 11.94 kB / 402.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.1325, allocations: 362.8 kB / 403 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.1328, allocations: 165.1 kB / 403.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.1332, allocations: 329.8 kB / 403.5 MB, free: 9.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.1336, allocations: 274.7 kB / 403.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.1336, allocations: 4 kB / 403.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001071/0.1347, allocations: 0.7188 MB / 404.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.717e-05/0.1348, allocations: 41.78 kB / 404.5 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.1348, allocations: 4 kB / 404.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.1348, allocations: 12 kB / 404.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/0.1353, allocations: 131.8 kB / 404.6 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/0.1354, allocations: 11.98 kB / 404.7 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.1356, allocations: 75.27 kB / 404.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.1357, allocations: 24 kB / 404.7 MB, free: 8.188 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.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] 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.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,$PRE.Disturbance.nextEvent,Disturbance.nextEvent,Disturbance.nextEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000413/0.1361, allocations: 270.5 kB / 405 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.813e-05/0.1362, allocations: 59.3 kB / 405.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009099/0.1371, allocations: 0.5217 MB / 405.6 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1371, allocations: 4 kB / 405.6 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1371, allocations: 0 / 405.6 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.1372, allocations: 0 / 405.6 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005767/0.1377, allocations: 473.1 kB / 406.1 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1378, allocations: 4 kB / 406.1 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004678/0.1382, allocations: 87.88 kB / 406.1 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1382, allocations: 0 / 406.1 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.661e-05/0.1383, allocations: 19.95 kB / 406.2 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1383, allocations: 3.984 kB / 406.2 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1383, allocations: 4 kB / 406.2 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.1394, allocations: 0.7196 MB / 406.9 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.1395, allocations: 136.5 kB / 407 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.475e-05/0.1396, allocations: 12 kB / 407 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.1398, allocations: 19.94 kB / 407.1 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.748e-05/0.1399, allocations: 23.97 kB / 407.1 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.1399, allocations: 15.98 kB / 407.1 MB, free: 5.723 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003555/0.1403, allocations: 338.8 kB / 407.4 MB, free: 5.391 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1403, allocations: 0 / 407.4 MB, free: 5.391 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004206/0.1407, allocations: 111.8 kB / 407.5 MB, free: 5.281 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001584/0.1423, allocations: 1.293 MB / 408.8 MB, free: 3.945 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008169/0.1431, allocations: 0.5477 MB / 409.4 MB, free: 3.387 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1431, allocations: 256 / 409.4 MB, free: 3.387 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000391/0.1435, allocations: 276.1 kB / 409.6 MB, free: 3.105 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.1438, allocations: 50.03 kB / 409.7 MB, free: 3.055 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006285/0.1501, allocations: 6.809 MB / 416.5 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.1507, allocations: 0.8976 MB / 417.4 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002731/0.151, allocations: 112.1 kB / 417.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.1512, allocations: 183.4 kB / 417.7 MB, free: 10.87 MB / 318.1 MB Notification: Performance of SimCode: time 2.204e-06/0.1512, allocations: 0 / 417.7 MB, free: 10.87 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.1739, allocations: 8.664 MB / 426.4 MB, free: 2.309 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.1742, allocations: 202.8 kB / 426.6 MB, free: 2.066 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.04, allocations: 0 / 426.6 MB, free: 2.066 MB / 318.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPD_bias_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPD_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1) Environment - environmentSimulation: