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.001848/0.001848, allocations: 85.48 kB / 19.44 MB, free: 348 kB / 13.93 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.001981/0.001981, allocations: 177.2 kB / 22.76 MB, free: 1.664 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.549/1.549, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.07009/0.07009, allocations: 8.626 MB / 268.2 MB, free: 4.949 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.333e-06/1.333e-06, allocations: 0 / 340.1 MB, free: 8.754 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.628e-05, allocations: 2.312 kB / 340.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.002687/0.002713, allocations: 2.196 MB / 342.3 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.004216, allocations: 1.018 MB / 343.4 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.004387, allocations: 23.75 kB / 343.4 MB, free: 5.488 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.004647, allocations: 91.28 kB / 343.5 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.004774, allocations: 71.44 kB / 343.5 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000825/0.005599, allocations: 399 kB / 343.9 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004525/0.006051, allocations: 0.5482 MB / 344.5 MB, free: 4.391 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.006207, allocations: 65.23 kB / 344.5 MB, free: 4.324 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.006436, allocations: 267.3 kB / 344.8 MB, free: 4.062 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.00672, allocations: 211.4 kB / 345 MB, free: 3.855 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.319e-05/0.006783, allocations: 36 kB / 345 MB, free: 3.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.006922, allocations: 99.94 kB / 345.1 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.007039, allocations: 171.4 kB / 345.3 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.007156, allocations: 131.6 kB / 345.4 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004591/0.007615, allocations: 0.5489 MB / 346 MB, free: 2.875 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.007618, allocations: 0 / 346 MB, free: 2.875 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.007619, allocations: 0 / 346 MB, free: 2.875 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.007627, allocations: 0 / 346 MB, free: 2.875 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.001097/0.008724, allocations: 0.945 MB / 346.9 MB, free: 1.887 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.008754, allocations: 12.03 kB / 346.9 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.008879, allocations: 96.52 kB / 347 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.009391, allocations: 408.9 kB / 347.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.009418, allocations: 29.38 kB / 347.5 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.285e-05/0.00948, allocations: 44.38 kB / 347.5 MB, free: 1.281 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005646/0.01004, allocations: 0.492 MB / 348 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.01007, allocations: 20.08 kB / 348 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/0.01011, allocations: 16.38 kB / 348 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.01012, allocations: 11.94 kB / 348 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004623/0.01058, allocations: 285.4 kB / 348.3 MB, free: 416 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003569/0.01415, allocations: 2.34 MB / 350.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005601/0.01471, allocations: 224.6 kB / 350.9 MB, free: 13.74 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.01497, allocations: 129.3 kB / 351 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.01501, allocations: 4 kB / 351 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004339/0.01544, allocations: 236.9 kB / 351.2 MB, free: 13.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.655e-06/0.01544, allocations: 4 kB / 351.2 MB, free: 13.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001029/0.01647, allocations: 480.5 kB / 351.7 MB, free: 12.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.01655, allocations: 85.11 kB / 351.8 MB, free: 12.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006652/0.01722, allocations: 0.5454 MB / 352.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.01726, allocations: 29.7 kB / 352.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/0.01761, allocations: 382.9 kB / 352.7 MB, free: 11.76 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.01776, allocations: 154.8 kB / 352.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.01798, allocations: 139.8 kB / 353 MB, free: 11.46 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003476/0.01833, allocations: 0.5664 MB / 353.6 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.01866, allocations: 126.8 kB / 353.7 MB, free: 10.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/0.01922, allocations: 403.8 kB / 354.1 MB, free: 10.24 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.0204, allocations: 0.7174 MB / 354.8 MB, free: 9.391 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.0204, allocations: 4 kB / 354.8 MB, free: 9.387 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001181/0.02159, allocations: 0.5994 MB / 355.4 MB, free: 8.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.426e-05/0.02165, allocations: 48.19 kB / 355.5 MB, free: 8.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.02166, allocations: 4 kB / 355.5 MB, free: 8.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.957e-05/0.02169, allocations: 12 kB / 355.5 MB, free: 8.703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/0.02225, allocations: 135.8 kB / 355.6 MB, free: 8.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/0.02227, allocations: 11.94 kB / 355.6 MB, free: 8.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.02256, allocations: 68.03 kB / 355.7 MB, free: 8.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/0.02261, allocations: 28 kB / 355.7 MB, free: 8.465 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_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 (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.0004179/0.02303, allocations: 285.3 kB / 356 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.02313, allocations: 63.67 kB / 356.1 MB, free: 8.102 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008618/0.024, allocations: 435.9 kB / 356.5 MB, free: 7.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.024, allocations: 7.938 kB / 356.5 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.02401, allocations: 0 / 356.5 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.02401, allocations: 0 / 356.5 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000591/0.0246, allocations: 412 kB / 356.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.0246, allocations: 0 / 356.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/0.0251, allocations: 87.88 kB / 357 MB, free: 7.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/0.02511, allocations: 4 kB / 357 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/0.02515, allocations: 11.98 kB / 357 MB, free: 7.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.02516, allocations: 4 kB / 357 MB, free: 7.109 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.02516, allocations: 3.984 kB / 357 MB, free: 7.105 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.02639, allocations: 0.6135 MB / 357.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.349e-05/0.02649, allocations: 59.55 kB / 357.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/0.02656, allocations: 19.98 kB / 357.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.02671, allocations: 19.92 kB / 357.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.0268, allocations: 23.95 kB / 357.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.02684, allocations: 12 kB / 357.8 MB, free: 6.312 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003832/0.02722, allocations: 323 kB / 358.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.02722, allocations: 0 / 358.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004727/0.02769, allocations: 119.7 kB / 358.2 MB, free: 5.879 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.0002573/0.02795, allocations: 155.1 kB / 358.4 MB, free: 5.719 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008184/0.02877, allocations: 481.4 kB / 358.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.02877, allocations: 0 / 358.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.0291, allocations: 236.6 kB / 359.1 MB, free: 4.969 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.02945, allocations: 60.75 kB / 359.1 MB, free: 4.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.03113, allocations: 1.004 MB / 360.1 MB, free: 3.863 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.03147, allocations: 284.5 kB / 360.4 MB, free: 3.562 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002729/0.03175, allocations: 92.09 kB / 360.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.818e-05/0.03185, allocations: 40.44 kB / 360.5 MB, free: 3.434 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.03185, allocations: 0 / 360.5 MB, free: 3.434 MB / 282.7 MB Notification: Performance of Templates: time 0.01006/0.0419, allocations: 3.701 MB / 364.2 MB, free: 15.76 MB / 298.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: 4.6107668719487265]