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.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.001178/0.001178, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001178/0.001178, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.01/1.01, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.03797/0.03797, allocations: 8.614 MB / 269.7 MB, free: 4.758 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.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 342.1 MB, free: 8.102 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.415e-05, allocations: 2.312 kB / 342.1 MB, free: 8.098 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.003084/0.003108, allocations: 2.208 MB / 344.3 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.004774, allocations: 0.9983 MB / 345.3 MB, free: 4.871 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002345/0.005009, allocations: 23.75 kB / 345.3 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004014/0.00541, allocations: 99.2 kB / 345.4 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.005589, allocations: 71.5 kB / 345.5 MB, free: 4.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.006678, allocations: 395 kB / 345.9 MB, free: 4.293 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005194/0.007197, allocations: 0.5482 MB / 346.4 MB, free: 3.746 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.00736, allocations: 65.22 kB / 346.5 MB, free: 3.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.007652, allocations: 267.4 kB / 346.8 MB, free: 3.418 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.007931, allocations: 215.4 kB / 347 MB, free: 3.207 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.376e-05/0.007995, allocations: 39.94 kB / 347 MB, free: 3.168 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.008148, allocations: 103.9 kB / 347.1 MB, free: 3.066 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.008276, allocations: 159.5 kB / 347.3 MB, free: 2.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.008399, allocations: 143.5 kB / 347.4 MB, free: 2.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.008825, allocations: 418.5 kB / 347.8 MB, free: 2.359 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.008828, allocations: 0 / 347.8 MB, free: 2.359 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.00883, allocations: 3.984 kB / 347.8 MB, free: 2.355 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.008841, allocations: 4 kB / 347.8 MB, free: 2.352 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.00102/0.009862, allocations: 0.91 MB / 348.7 MB, free: 1.398 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.009897, allocations: 12.03 kB / 348.7 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.01003, allocations: 100.5 kB / 348.8 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/0.01049, allocations: 385 kB / 349.2 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.01052, allocations: 33.38 kB / 349.3 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.41e-05/0.01058, allocations: 48.31 kB / 349.3 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/0.01106, allocations: 432.4 kB / 349.7 MB, free: 336 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.01109, allocations: 16.11 kB / 349.7 MB, free: 320 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.01112, allocations: 16.38 kB / 349.8 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.01113, allocations: 15.94 kB / 349.8 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.01142, allocations: 196.4 kB / 350 MB, free: 84 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.01376, allocations: 2.11 MB / 352.1 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.01413, allocations: 183.5 kB / 352.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.01426, allocations: 101.3 kB / 352.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.01429, allocations: 4 kB / 352.4 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.01455, allocations: 200.9 kB / 352.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.475e-06/0.01455, allocations: 4 kB / 352.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006092/0.01516, allocations: 400.4 kB / 352.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.0152, allocations: 85.11 kB / 353 MB, free: 12.83 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.01561, allocations: 490.2 kB / 353.5 MB, free: 12.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.01564, allocations: 29.7 kB / 353.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.01588, allocations: 366.9 kB / 353.9 MB, free: 11.94 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.016, allocations: 146.8 kB / 354 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.01617, allocations: 127.7 kB / 354.2 MB, free: 11.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.01637, allocations: 0.5468 MB / 354.7 MB, free: 11.1 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.01651, allocations: 86.73 kB / 354.8 MB, free: 11.01 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.0168, allocations: 355.7 kB / 355.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006514/0.01745, allocations: 0.6042 MB / 355.7 MB, free: 9.809 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.01746, allocations: 0 / 355.7 MB, free: 9.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0007356/0.0182, allocations: 0.5139 MB / 356.3 MB, free: 9.277 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.01824, allocations: 41.78 kB / 356.3 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.01825, allocations: 8 kB / 356.3 MB, free: 9.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.01827, allocations: 12 kB / 356.3 MB, free: 9.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.01866, allocations: 119.8 kB / 356.4 MB, free: 9.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.01868, allocations: 19.92 kB / 356.5 MB, free: 9.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.01887, allocations: 63.52 kB / 356.5 MB, free: 9.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.01889, allocations: 27.98 kB / 356.5 MB, free: 8.984 MB / 282.7 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: 27 * Number of states: 0 () * Number of discrete variables: 15 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,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 (74): * Single equations (assignments): 73 * 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.0002137/0.01911, allocations: 273.2 kB / 356.8 MB, free: 8.695 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.489e-05/0.01916, allocations: 63.67 kB / 356.9 MB, free: 8.633 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.01955, allocations: 372 kB / 357.2 MB, free: 8.254 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01955, allocations: 0 / 357.2 MB, free: 8.254 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.01956, allocations: 7.984 kB / 357.2 MB, free: 8.246 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01956, allocations: 0 / 357.2 MB, free: 8.246 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.01982, allocations: 288.7 kB / 357.5 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01982, allocations: 0 / 357.5 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.02008, allocations: 75.91 kB / 357.6 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.02008, allocations: 0 / 357.6 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.02011, allocations: 19.98 kB / 357.6 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.02011, allocations: 0 / 357.6 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02011, allocations: 0 / 357.6 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.02057, allocations: 0.528 MB / 358.1 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.0206, allocations: 51.55 kB / 358.2 MB, free: 7.219 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.02064, allocations: 15.98 kB / 358.2 MB, free: 7.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.02072, allocations: 8 kB / 358.2 MB, free: 7.195 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.02077, allocations: 19.95 kB / 358.2 MB, free: 7.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.02079, allocations: 16 kB / 358.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001422/0.02093, allocations: 279 kB / 358.5 MB, free: 6.887 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02093, allocations: 4 kB / 358.5 MB, free: 6.883 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002865/0.02122, allocations: 123.7 kB / 358.7 MB, free: 6.762 MB / 282.7 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.0001755/0.0214, allocations: 147.1 kB / 358.8 MB, free: 6.609 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003565/0.02175, allocations: 392.9 kB / 359.2 MB, free: 6.199 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.02175, allocations: 4 kB / 359.2 MB, free: 6.195 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.02189, allocations: 204.5 kB / 359.4 MB, free: 5.973 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.02213, allocations: 59.3 kB / 359.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009739/0.02311, allocations: 0.9646 MB / 360.4 MB, free: 4.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.697e-05/0.0232, allocations: 145.7 kB / 360.5 MB, free: 4.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.02332, allocations: 56.42 kB / 360.6 MB, free: 4.695 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.02349, allocations: 142.2 kB / 360.7 MB, free: 4.555 MB / 282.7 MB Notification: Performance of SimCode: time 7.02e-07/0.02349, allocations: 0 / 360.7 MB, free: 4.555 MB / 282.7 MB Notification: Performance of Templates: time 0.007439/0.03093, allocations: 4.051 MB / 364.8 MB, free: 0.5273 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.makefile [Timeout 660] (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 & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9557692748494446]