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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8963/0.8963, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.03582/0.03582, allocations: 8.623 MB / 268.9 MB, free: 4.789 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 288.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.979e-06/1.115e-05, allocations: 9.906 kB / 288.1 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.112/0.112, allocations: 2.193 MB / 290.3 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008801/0.1129, allocations: 0.5949 MB / 290.9 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.113, allocations: 19.41 kB / 290.9 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.1132, allocations: 68.12 kB / 290.9 MB, free: 19.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.338e-05/0.1133, allocations: 42.25 kB / 291 MB, free: 18.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006365/0.1139, allocations: 349.3 kB / 291.3 MB, free: 18.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004125/0.1143, allocations: 0.4983 MB / 291.8 MB, free: 18.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.1145, allocations: 70.56 kB / 291.9 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.1147, allocations: 225.3 kB / 292.1 MB, free: 18.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.1148, allocations: 154.5 kB / 292.3 MB, free: 18.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/0.1149, allocations: 31.88 kB / 292.3 MB, free: 18.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.446e-05/0.1149, allocations: 32.94 kB / 292.3 MB, free: 18.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.341e-05/0.115, allocations: 141.9 kB / 292.5 MB, free: 18.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.229e-05/0.1151, allocations: 118.4 kB / 292.6 MB, free: 18.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.1153, allocations: 298.2 kB / 292.9 MB, free: 18.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.1153, allocations: 0.6562 kB / 292.9 MB, free: 18.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1153, allocations: 0 / 292.9 MB, free: 18.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1153, allocations: 2.375 kB / 292.9 MB, free: 18.38 MB / 266.7 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.000623/0.116, allocations: 0.6489 MB / 293.5 MB, free: 17.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.573e-05/0.116, allocations: 9.344 kB / 293.5 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.311e-05/0.1161, allocations: 69.42 kB / 293.6 MB, free: 17.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.1164, allocations: 319.7 kB / 293.9 MB, free: 17.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.1164, allocations: 35.88 kB / 293.9 MB, free: 17.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/0.1165, allocations: 44.45 kB / 294 MB, free: 17.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.1168, allocations: 371.3 kB / 294.4 MB, free: 17.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.1168, allocations: 2.359 kB / 294.4 MB, free: 17.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.1169, allocations: 18.56 kB / 294.4 MB, free: 17.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.1169, allocations: 11.09 kB / 294.4 MB, free: 17.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.1171, allocations: 137.7 kB / 294.5 MB, free: 17.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.1182, allocations: 1.459 MB / 296 MB, free: 16.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.1184, allocations: 182.1 kB / 296.2 MB, free: 16.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/0.1185, allocations: 45.17 kB / 296.2 MB, free: 16.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.1185, allocations: 5.812 kB / 296.2 MB, free: 16.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.1185, allocations: 34.64 kB / 296.2 MB, free: 16.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.1185, allocations: 0 / 296.2 MB, free: 16.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002279/0.1188, allocations: 158.8 kB / 296.4 MB, free: 16.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.76e-05/0.1188, allocations: 60.33 kB / 296.5 MB, free: 16.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.119, allocations: 348.5 kB / 296.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.119, allocations: 30.83 kB / 296.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.81e-05/0.1191, allocations: 254 kB / 297.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.1191, allocations: 100.2 kB / 297.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/0.1192, allocations: 94.62 kB / 297.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.1192, allocations: 356.7 kB / 297.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.332e-05/0.1193, allocations: 46.28 kB / 297.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-05/0.1194, allocations: 195.5 kB / 297.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.1196, allocations: 364.7 kB / 298.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1196, allocations: 2.594 kB / 298.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0002949/0.1199, allocations: 272.3 kB / 298.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1199, allocations: 7.531 kB / 298.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1199, allocations: 6.969 kB / 298.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.12, allocations: 7.188 kB / 298.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.1202, allocations: 104.9 kB / 298.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.1202, allocations: 14.28 kB / 298.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.1203, allocations: 51.14 kB / 298.7 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.1203, allocations: 18.14 kB / 298.7 MB, free: 14.53 MB / 266.7 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] processNoCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 8 (R.ATreq_in,R.satHIGH_in,R.satLOW_in,R_Bias.ATreq_in,R_Bias.satHIGH_in,R_Bias.satLOW_in,R.TS_in,R_Bias.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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.0001252/0.1204, allocations: 164.8 kB / 298.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.1205, allocations: 29.53 kB / 298.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.1207, allocations: 198.8 kB / 299.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1207, allocations: 3.188 kB / 299.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.1207, allocations: 3.125 kB / 299.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1207, allocations: 1.781 kB / 299.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.1209, allocations: 202.5 kB / 299.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1209, allocations: 4.656 kB / 299.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.1211, allocations: 64.62 kB / 299.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1211, allocations: 4.156 kB / 299.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.1211, allocations: 13.31 kB / 299.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1211, allocations: 1.5 kB / 299.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1211, allocations: 3.938 kB / 299.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.1214, allocations: 354 kB / 299.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.1214, allocations: 43.41 kB / 299.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.1215, allocations: 10.44 kB / 299.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.436e-05/0.1215, allocations: 7.344 kB / 299.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.1216, allocations: 18.16 kB / 299.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.1216, allocations: 13.42 kB / 299.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.1217, allocations: 128.9 kB / 299.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.1217, allocations: 0 / 299.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.1219, allocations: 86.52 kB / 300 MB, free: 13.83 MB / 266.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.421e-05/0.122, allocations: 87.2 kB / 300.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.1222, allocations: 186.2 kB / 300.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.1222, allocations: 4.875 kB / 300.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.406e-05/0.1223, allocations: 75.42 kB / 300.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.1225, allocations: 46.09 kB / 300.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007347/0.1232, allocations: 0.7781 MB / 301.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.706e-05/0.1233, allocations: 133.7 kB / 301.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.1234, allocations: 46.31 kB / 301.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.903e-05/0.1235, allocations: 95.14 kB / 301.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.1235, allocations: 1.781 kB / 301.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of Templates: time 0.004654/0.1281, allocations: 2.493 MB / 303.9 MB, free: 12.23 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile [Timeout 660] (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 & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5379147636704147]