Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPID_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.001016/0.001016, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001433/0.00245, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000744/0.000744, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.001905, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9312/0.9312, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08852/1.02, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.04967/0.04967, allocations: 9.791 MB / 253.8 MB, free: 5.598 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01533/0.06499, allocations: 3.48 MB / 257.2 MB, free: 2.109 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPID_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPID_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 258.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.02e-05, allocations: 2.312 kB / 258.5 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.002557/0.002577, allocations: 2.264 MB / 260.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.003786, allocations: 0.788 MB / 261.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.003964, allocations: 23.75 kB / 261.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.004137, allocations: 71.27 kB / 261.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.004278, allocations: 55.41 kB / 261.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006564/0.004934, allocations: 439.1 kB / 262.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004745/0.005409, allocations: 0.575 MB / 262.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.00555, allocations: 77.14 kB / 262.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.005843, allocations: 319.3 kB / 263.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.006043, allocations: 183.4 kB / 263.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.111e-05/0.006094, allocations: 36 kB / 263.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.884e-05/0.006133, allocations: 36 kB / 263.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.244e-05/0.006225, allocations: 123.6 kB / 263.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.117e-05/0.006307, allocations: 95.69 kB / 263.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.006585, allocations: 306.7 kB / 263.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.482e-05/0.006599, allocations: 4 kB / 263.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.0066, allocations: 0 / 263.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.006617, allocations: 0 / 263.9 MB, free: 11.44 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0009038/0.007521, allocations: 0.8072 MB / 264.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.00755, allocations: 12.03 kB / 264.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.743e-05/0.007628, allocations: 68.88 kB / 264.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.007997, allocations: 383.5 kB / 265.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.841e-05/0.008075, allocations: 80.97 kB / 265.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-05/0.008125, allocations: 48.36 kB / 265.3 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.008468, allocations: 388.1 kB / 265.6 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.008484, allocations: 4.141 kB / 265.6 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.008508, allocations: 20.38 kB / 265.7 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.008518, allocations: 12.12 kB / 265.7 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.008689, allocations: 157.6 kB / 265.8 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.009993, allocations: 1.485 MB / 267.3 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.01038, allocations: 259.8 kB / 267.6 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.0105, allocations: 108.7 kB / 267.7 MB, free: 7.469 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.01053, allocations: 4 kB / 267.7 MB, free: 7.465 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.01055, allocations: 34.56 kB / 267.7 MB, free: 7.422 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.733e-06/0.01055, allocations: 0 / 267.7 MB, free: 7.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.0002797/0.01083, allocations: 231.3 kB / 267.9 MB, free: 7.191 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.01086, allocations: 55.41 kB / 268 MB, free: 7.125 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.01108, allocations: 359.1 kB / 268.3 MB, free: 6.762 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.0111, allocations: 37.7 kB / 268.4 MB, free: 6.719 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.01122, allocations: 225.4 kB / 268.6 MB, free: 6.492 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.699e-05/0.01131, allocations: 154.7 kB / 268.7 MB, free: 6.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.01142, allocations: 106.1 kB / 268.8 MB, free: 6.227 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.01153, allocations: 362.7 kB / 269.2 MB, free: 5.863 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.1e-05/0.01161, allocations: 47.97 kB / 269.2 MB, free: 5.816 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.01177, allocations: 203 kB / 269.4 MB, free: 5.555 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.01217, allocations: 388.1 kB / 269.8 MB, free: 5.113 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.01217, allocations: 0 / 269.8 MB, free: 5.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0003852/0.01256, allocations: 314.5 kB / 270.1 MB, free: 4.801 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.01257, allocations: 8 kB / 270.1 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.01258, allocations: 4 kB / 270.1 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.0126, allocations: 11.94 kB / 270.2 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.01311, allocations: 178.6 kB / 270.3 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.01312, allocations: 11.98 kB / 270.3 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.01327, allocations: 51.62 kB / 270.4 MB, free: 4.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.01329, allocations: 20.12 kB / 270.4 MB, free: 4.523 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 ) \"Delayed input vector\" type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) \"State variable vector (canonical form)\" 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 ) \"Delayed input vector\" type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) \"State variable vector (canonical form)\" 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 ) \"Delayed input vector\" type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) \"State variable vector (canonical form)\" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (71): * Single equations (assignments): 71 * 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.0001816/0.01347, allocations: 174.8 kB / 270.6 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.01353, allocations: 35.91 kB / 270.6 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003492/0.01388, allocations: 254.6 kB / 270.9 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.01388, allocations: 4 kB / 270.9 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.01389, allocations: 4 kB / 270.9 MB, free: 4.039 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.01389, allocations: 0 / 270.9 MB, free: 4.039 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007997/0.01469, allocations: 0.6179 MB / 271.5 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.0147, allocations: 0 / 271.5 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/0.01515, allocations: 139.8 kB / 271.6 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.01519, allocations: 47.59 kB / 271.7 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.0152, allocations: 8 kB / 271.7 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.01523, allocations: 15.98 kB / 271.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.01524, allocations: 4 kB / 271.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01524, allocations: 0 / 271.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.01565, allocations: 451.5 kB / 272.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.01569, allocations: 12 kB / 272.2 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.0158, allocations: 8 kB / 272.2 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/0.01588, allocations: 31.88 kB / 272.2 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.01589, allocations: 4 kB / 272.2 MB, free: 2.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.01601, allocations: 144.7 kB / 272.3 MB, free: 2.523 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.01601, allocations: 0 / 272.3 MB, free: 2.523 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000307/0.01632, allocations: 87.84 kB / 272.4 MB, free: 2.438 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,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 (42): * Single equations (assignments): 42 * 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 0.000113/0.01643, allocations: 94.97 kB / 272.5 MB, free: 2.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003135/0.01674, allocations: 237.5 kB / 272.8 MB, free: 2.109 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.846e-05/0.01676, allocations: 12.19 kB / 272.8 MB, free: 2.098 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.01689, allocations: 112.8 kB / 272.9 MB, free: 1.984 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.01716, allocations: 69.62 kB / 272.9 MB, free: 1.914 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.0184, allocations: 0.8836 MB / 273.8 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.0185, allocations: 137.8 kB / 274 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001587/0.01866, allocations: 56.38 kB / 274 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.01883, allocations: 115.4 kB / 274.1 MB, free: 0.668 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01883, allocations: 0 / 274.1 MB, free: 0.668 MB / 266.7 MB Notification: Performance of Templates: time 0.1051/0.1239, allocations: 3.496 MB / 277.6 MB, free: 13.01 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPID_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPID_bias -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6971456315368414]