Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_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.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_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.001383/0.001383, allocations: 99.16 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.001362/0.001362, allocations: 177.3 kB / 15.95 MB, free: 216 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.735/1.735, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05706/0.05706, allocations: 10.75 MB / 281.1 MB, free: 10.56 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.0004973/0.0004974, allocations: 12 kB / 341.7 MB, free: 23.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1298, allocations: 50.01 MB / 391.7 MB, free: 5.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.002487/0.1323, allocations: 1.758 MB / 393.5 MB, free: 3.941 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1334, allocations: 0.5066 MB / 394 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.1335, allocations: 11.88 kB / 394 MB, free: 3.422 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.1337, allocations: 31.72 kB / 394 MB, free: 3.391 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.676e-05/0.1338, allocations: 31.89 kB / 394 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.1344, allocations: 207.5 kB / 394.2 MB, free: 3.156 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.1348, allocations: 288.1 kB / 394.5 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.135, allocations: 68.64 kB / 394.6 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.1352, allocations: 151.3 kB / 394.7 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.1354, allocations: 151.3 kB / 394.9 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.1355, allocations: 16 kB / 394.9 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.889e-05/0.1355, allocations: 12 kB / 394.9 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.1356, allocations: 111.6 kB / 395 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.28e-05/0.1357, allocations: 77.52 kB / 395.1 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.136, allocations: 255.7 kB / 395.3 MB, free: 2.039 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.136, allocations: 0 / 395.3 MB, free: 2.039 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.136, allocations: 0 / 395.3 MB, free: 2.039 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.136, allocations: 0 / 395.3 MB, free: 2.039 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001118/0.1371, allocations: 0.6588 MB / 396 MB, free: 1.328 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.1372, allocations: 8.031 kB / 396 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.133e-05/0.1373, allocations: 70.53 kB / 396.1 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.154e-05/0.1374, allocations: 51.39 kB / 396.1 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.1379, allocations: 350.7 kB / 396.5 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.1379, allocations: 25 kB / 396.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/0.138, allocations: 40 kB / 396.5 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006584/0.1387, allocations: 415.9 kB / 396.9 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.1387, allocations: 19.77 kB / 397 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/0.1387, allocations: 16 kB / 397 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.1387, allocations: 12 kB / 397 MB, free: 276 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005927/0.1393, allocations: 318.3 kB / 397.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.1416, allocations: 1.539 MB / 398.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007147/0.1423, allocations: 234.7 kB / 399.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/0.1424, allocations: 4 kB / 399.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.1424, allocations: 34.56 kB / 399.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.873e-06/0.1424, allocations: 0 / 399.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007286/0.1431, allocations: 378.6 kB / 399.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.1432, allocations: 55.41 kB / 399.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.1436, allocations: 397.5 kB / 399.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.1436, allocations: 25.7 kB / 399.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.1438, allocations: 244 kB / 400.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.069e-05/0.1439, allocations: 98.61 kB / 400.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.378e-05/0.1439, allocations: 4 kB / 400.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1441, allocations: 354.8 kB / 400.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.1443, allocations: 108.4 kB / 400.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.1446, allocations: 216.5 kB / 400.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.1449, allocations: 165.1 kB / 401.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1449, allocations: 7.938 kB / 401.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006867/0.1456, allocations: 452.5 kB / 401.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1456, allocations: 7.125 kB / 401.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.1456, allocations: 4 kB / 401.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1457, allocations: 11.94 kB / 401.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004116/0.1461, allocations: 107.8 kB / 401.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.1461, allocations: 7.984 kB / 401.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.1463, allocations: 55.89 kB / 401.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.1463, allocations: 16 kB / 401.8 MB, free: 11.29 MB / 302.1 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * 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.000299/0.1466, allocations: 199.5 kB / 402 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.818e-05/0.1467, allocations: 43.53 kB / 402 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006182/0.1473, allocations: 349.8 kB / 402.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1474, allocations: 4 kB / 402.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1474, allocations: 0 / 402.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1474, allocations: 4 kB / 402.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.1478, allocations: 393.2 kB / 402.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1478, allocations: 3.953 kB / 402.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/0.1483, allocations: 83.88 kB / 402.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1483, allocations: 8 kB / 402.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.1483, allocations: 8 kB / 402.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1483, allocations: 0 / 402.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1483, allocations: 0 / 402.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000773/0.1491, allocations: 0.5392 MB / 403.4 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.761e-05/0.1492, allocations: 124.5 kB / 403.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.1493, allocations: 11.98 kB / 403.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.1494, allocations: 15.98 kB / 403.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.1495, allocations: 11.98 kB / 403.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.1495, allocations: 11.98 kB / 403.5 MB, free: 9.398 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002858/0.1498, allocations: 271.1 kB / 403.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1498, allocations: 4 kB / 403.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003527/0.1502, allocations: 67.84 kB / 403.9 MB, free: 9.062 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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.001039/0.1512, allocations: 1.083 MB / 405 MB, free: 7.953 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005617/0.1518, allocations: 313.2 kB / 405.3 MB, free: 7.648 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1518, allocations: 0 / 405.3 MB, free: 7.648 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.152, allocations: 143.8 kB / 405.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.1523, allocations: 33.98 kB / 405.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004434/0.1568, allocations: 4.786 MB / 410.2 MB, free: 2.574 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.1572, allocations: 0.846 MB / 411.1 MB, free: 1.703 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.1575, allocations: 83.16 kB / 411.2 MB, free: 1.625 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.1577, allocations: 143.4 kB / 411.3 MB, free: 1.484 MB / 302.1 MB Notification: Performance of SimCode: time 1.142e-06/0.1577, allocations: 0 / 411.3 MB, free: 1.484 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.1766, allocations: 6.253 MB / 417.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.1769, allocations: 198.9 kB / 417.7 MB, free: 11.09 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/1.997, allocations: 4 kB / 417.7 MB, free: 11.09 MB / 318.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1) Environment - environmentSimulation: