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.0007214/0.0007214, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009908/0.001712, allocations: 440 kB / 10.41 MB, free: 284 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.0007084/0.0007084, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009482/0.001657, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9761/0.9761, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08285/1.059, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.03609/0.03609, allocations: 8.619 MB / 252.8 MB, free: 6.621 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005274/0.04137, allocations: 3.126 MB / 255.9 MB, free: 3.484 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.102e-06/1.102e-06, allocations: 0 / 257.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.906e-05, allocations: 10.25 kB / 257.2 MB, free: 2.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.002765/0.002784, allocations: 2.248 MB / 259.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.004148, allocations: 1.06 MB / 260.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.00433, allocations: 15.81 kB / 260.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.004516, allocations: 107.2 kB / 260.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.907e-05/0.004616, allocations: 71.55 kB / 260.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.005617, allocations: 378.9 kB / 261.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005543/0.006171, allocations: 0.5444 MB / 261.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.00632, allocations: 65.22 kB / 261.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.006596, allocations: 291.4 kB / 262 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.00682, allocations: 203.4 kB / 262.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.006866, allocations: 36 kB / 262.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.007029, allocations: 115.9 kB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.896e-05/0.007128, allocations: 127.6 kB / 262.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.873e-05/0.007216, allocations: 99.62 kB / 262.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.007561, allocations: 386.5 kB / 262.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/0.007573, allocations: 0 / 262.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.007575, allocations: 4 kB / 262.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.007586, allocations: 0 / 262.9 MB, free: 12.43 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.0008884/0.008475, allocations: 0.8632 MB / 263.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.008503, allocations: 12.03 kB / 263.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.467e-05/0.008588, allocations: 76.88 kB / 263.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.008942, allocations: 379.4 kB / 264.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.008972, allocations: 37.38 kB / 264.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/0.009021, allocations: 40.38 kB / 264.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00042/0.009441, allocations: 421.8 kB / 264.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.009462, allocations: 12.12 kB / 264.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.009488, allocations: 20.38 kB / 264.7 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.0095, allocations: 15.94 kB / 264.8 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.009693, allocations: 187.3 kB / 264.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.01108, allocations: 1.585 MB / 266.5 MB, free: 8.637 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.01133, allocations: 206.9 kB / 266.7 MB, free: 8.418 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.701e-05/0.01141, allocations: 94.53 kB / 266.8 MB, free: 8.316 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.01143, allocations: 8 kB / 266.8 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.01161, allocations: 203.5 kB / 267 MB, free: 8.086 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.823e-06/0.01161, allocations: 0 / 267 MB, free: 8.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0003095/0.01192, allocations: 319.6 kB / 267.3 MB, free: 7.742 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.01198, allocations: 178.2 kB / 267.5 MB, free: 7.531 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.01221, allocations: 399 kB / 267.9 MB, free: 7.129 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.01223, allocations: 33.7 kB / 267.9 MB, free: 7.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.01234, allocations: 261.2 kB / 268.2 MB, free: 6.824 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.91e-05/0.01241, allocations: 138.8 kB / 268.3 MB, free: 6.688 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.28e-05/0.01251, allocations: 110.1 kB / 268.4 MB, free: 6.574 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.232e-05/0.0126, allocations: 370.6 kB / 268.8 MB, free: 6.203 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-05/0.01267, allocations: 85.66 kB / 268.9 MB, free: 6.113 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.01282, allocations: 275.4 kB / 269.1 MB, free: 5.754 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.0132, allocations: 0.5451 MB / 269.7 MB, free: 5.105 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.0132, allocations: 0 / 269.7 MB, free: 5.105 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0003518/0.01355, allocations: 425 kB / 270.1 MB, free: 4.672 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.01359, allocations: 38.48 kB / 270.1 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01359, allocations: 4 kB / 270.1 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.01361, allocations: 16 kB / 270.2 MB, free: 4.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.01396, allocations: 167.7 kB / 270.3 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.01397, allocations: 12 kB / 270.3 MB, free: 4.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.0141, allocations: 55.61 kB / 270.4 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.01412, allocations: 23.94 kB / 270.4 MB, free: 4.355 MB / 266.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.0001856/0.01431, allocations: 238 kB / 270.6 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.01434, allocations: 39.97 kB / 270.7 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.01462, allocations: 315.3 kB / 271 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.01463, allocations: 7.984 kB / 271 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01463, allocations: 0 / 271 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01463, allocations: 0 / 271 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.01483, allocations: 237.4 kB / 271.2 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01483, allocations: 0 / 271.2 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/0.01514, allocations: 109.3 kB / 271.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/0.01517, allocations: 51.55 kB / 271.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01517, allocations: 7.938 kB / 271.4 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.0152, allocations: 15.98 kB / 271.4 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.0152, allocations: 4 kB / 271.4 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.0152, allocations: 0 / 271.4 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.01555, allocations: 451.9 kB / 271.9 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.01558, allocations: 8 kB / 271.9 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.294e-05/0.01565, allocations: 8 kB / 271.9 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.01569, allocations: 23.95 kB / 271.9 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.01571, allocations: 15.98 kB / 271.9 MB, free: 2.777 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.998e-05/0.01581, allocations: 156.7 kB / 272.1 MB, free: 2.625 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01581, allocations: 4 kB / 272.1 MB, free: 2.621 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002371/0.01605, allocations: 115.8 kB / 272.2 MB, free: 2.508 MB / 266.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.000151/0.0162, allocations: 135.1 kB / 272.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003225/0.01652, allocations: 387.7 kB / 272.7 MB, free: 1.969 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/0.01654, allocations: 16 kB / 272.7 MB, free: 1.953 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.01668, allocations: 205.8 kB / 272.9 MB, free: 1.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.01694, allocations: 273.7 kB / 273.2 MB, free: 1.426 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009458/0.01788, allocations: 0.9684 MB / 274.1 MB, free: 424 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.657e-05/0.01798, allocations: 149.7 kB / 274.3 MB, free: 252 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.01808, allocations: 60.23 kB / 274.4 MB, free: 188 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.01822, allocations: 127.3 kB / 274.5 MB, free: 60 kB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01822, allocations: 0 / 274.5 MB, free: 60 kB / 266.7 MB Notification: Performance of Templates: time 0.1087/0.1269, allocations: 3.557 MB / 278 MB, free: 13.78 MB / 266.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.577073206193745]