Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.001219/0.001219, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001381/0.001381, allocations: 169 kB / 23.49 MB, free: 1.066 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 1.11/1.11, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.04336/0.04336, allocations: 8.615 MB / 268.9 MB, free: 5 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.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 340.9 MB, free: 8.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.37e-05/3.606e-05, allocations: 5.266 kB / 340.9 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.0037/0.003736, allocations: 2.17 MB / 343.1 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.004873, allocations: 443.9 kB / 343.5 MB, free: 6.102 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002972/0.00517, allocations: 15.81 kB / 343.5 MB, free: 6.086 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.005527, allocations: 71.31 kB / 343.6 MB, free: 6.016 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.005702, allocations: 35.55 kB / 343.6 MB, free: 5.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.006737, allocations: 283.4 kB / 343.9 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006481/0.007385, allocations: 436.3 kB / 344.3 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.007613, allocations: 65.23 kB / 344.4 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002651/0.007878, allocations: 199.5 kB / 344.6 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.008094, allocations: 135.5 kB / 344.7 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.602e-05/0.00816, allocations: 32 kB / 344.7 MB, free: 4.852 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.126e-05/0.008201, allocations: 28 kB / 344.8 MB, free: 4.824 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.008328, allocations: 135.5 kB / 344.9 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.008439, allocations: 107.6 kB / 345 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.008814, allocations: 286.8 kB / 345.3 MB, free: 4.305 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.008819, allocations: 4 kB / 345.3 MB, free: 4.301 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.008821, allocations: 4 kB / 345.3 MB, free: 4.297 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.00883, allocations: 3.938 kB / 345.3 MB, free: 4.293 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0009963/0.009827, allocations: 0.757 MB / 346.1 MB, free: 3.496 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.009875, allocations: 12.03 kB / 346.1 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.01001, allocations: 84.61 kB / 346.2 MB, free: 3.402 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004873/0.0105, allocations: 338.7 kB / 346.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/0.01054, allocations: 33.38 kB / 346.5 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-05/0.0106, allocations: 44.36 kB / 346.6 MB, free: 2.965 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.01117, allocations: 382.2 kB / 346.9 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.01119, allocations: 4.141 kB / 346.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.01123, allocations: 16.38 kB / 347 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.01125, allocations: 12.38 kB / 347 MB, free: 2.512 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.01152, allocations: 159.6 kB / 347.1 MB, free: 2.359 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.01276, allocations: 2.03 MB / 349.2 MB, free: 240 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.013, allocations: 115.1 kB / 349.3 MB, free: 112 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.902e-05/0.01307, allocations: 60.22 kB / 349.3 MB, free: 48 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.01309, allocations: 7.984 kB / 349.3 MB, free: 40 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.01313, allocations: 33.39 kB / 349.4 MB, free: 16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.944e-06/0.01313, allocations: 3.938 kB / 349.4 MB, free: 15.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003338/0.01346, allocations: 196 kB / 349.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.0135, allocations: 59.34 kB / 349.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.01378, allocations: 414.5 kB / 350 MB, free: 15.3 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.01379, allocations: 29.7 kB / 350 MB, free: 15.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.01394, allocations: 318.8 kB / 350.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.01399, allocations: 91.27 kB / 350.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.028e-05/0.01407, allocations: 83.34 kB / 350.5 MB, free: 14.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.01422, allocations: 0.5235 MB / 351.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.777e-05/0.01429, allocations: 40.47 kB / 351.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.01446, allocations: 256 kB / 351.3 MB, free: 13.85 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.0148, allocations: 388.4 kB / 351.7 MB, free: 13.38 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.01481, allocations: 11.94 kB / 351.7 MB, free: 13.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00035/0.01516, allocations: 329 kB / 352.1 MB, free: 13.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.01518, allocations: 8 kB / 352.1 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.01519, allocations: 4 kB / 352.1 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.0152, allocations: 8 kB / 352.1 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/0.0157, allocations: 95.77 kB / 352.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.01571, allocations: 12.52 kB / 352.2 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.615e-05/0.01581, allocations: 47.72 kB / 352.2 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.01583, allocations: 20 kB / 352.2 MB, free: 12.85 MB / 282.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: 22 * Number of states: 0 () * Number of discrete variables: 8 (R_Bias.TS_in,R.TS_in,R_Bias.satLOW_in,R_Bias.satHIGH_in,R_Bias.ATreq_in,R.satLOW_in,R.satHIGH_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001746/0.016, allocations: 214.2 kB / 352.5 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.01604, allocations: 35.77 kB / 352.5 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002779/0.01632, allocations: 200.3 kB / 352.7 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01632, allocations: 4 kB / 352.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.01633, allocations: 3.984 kB / 352.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.01633, allocations: 0 / 352.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.01658, allocations: 284.4 kB / 353 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01659, allocations: 3.938 kB / 353 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.01678, allocations: 63.89 kB / 353 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01678, allocations: 0 / 353 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.01681, allocations: 12 kB / 353.1 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01681, allocations: 0 / 353.1 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01681, allocations: 0 / 353.1 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.01715, allocations: 383.4 kB / 353.4 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.211e-05/0.01718, allocations: 39.62 kB / 353.5 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.01721, allocations: 8 kB / 353.5 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.01729, allocations: 11.98 kB / 353.5 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.01734, allocations: 15.97 kB / 353.5 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.01735, allocations: 8 kB / 353.5 MB, free: 11.52 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001413/0.01749, allocations: 251.1 kB / 353.8 MB, free: 11.28 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01749, allocations: 4 kB / 353.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002362/0.01773, allocations: 75.78 kB / 353.8 MB, free: 11.2 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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 (23): * Single equations (assignments): 23 * 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 9.865e-05/0.01782, allocations: 103.2 kB / 353.9 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.01807, allocations: 181.1 kB / 354.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.01807, allocations: 4.438 kB / 354.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.534e-05/0.01815, allocations: 74.64 kB / 354.2 MB, free: 10.83 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.01841, allocations: 46.08 kB / 354.2 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009083/0.01932, allocations: 0.7165 MB / 354.9 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.996e-05/0.01941, allocations: 124.5 kB / 355.1 MB, free: 9.898 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.01953, allocations: 67.16 kB / 355.1 MB, free: 9.828 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.755e-05/0.01958, allocations: 32.5 kB / 355.2 MB, free: 9.797 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01958, allocations: 4 kB / 355.2 MB, free: 9.793 MB / 282.7 MB Notification: Performance of Templates: time 0.005123/0.02471, allocations: 2.127 MB / 357.3 MB, free: 7.688 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9105810029432178]