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.0009059/0.0009059, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001069/0.001975, 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.0007151/0.0007151, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009085/0.001624, 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.9968/0.9968, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1171/1.114, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.03626/0.03626, allocations: 8.619 MB / 252.6 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007631/0.0439, allocations: 3.121 MB / 255.7 MB, free: 3.598 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.084e-06/2.084e-06, allocations: 0 / 257 MB, free: 2.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.901e-05, allocations: 2.312 kB / 257 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.00383/0.003859, allocations: 2.209 MB / 259.2 MB, free: 92 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009258/0.004785, allocations: 459.6 kB / 259.6 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.004995, allocations: 23.75 kB / 259.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.005205, allocations: 75.3 kB / 259.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.005324, allocations: 31.62 kB / 259.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006434/0.005967, allocations: 267.4 kB / 260 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005285/0.006496, allocations: 436.3 kB / 260.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.006698, allocations: 73.2 kB / 260.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.006964, allocations: 219.3 kB / 260.7 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.007172, allocations: 143.5 kB / 260.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.186e-05/0.007234, allocations: 28 kB / 260.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.769e-05/0.007281, allocations: 28 kB / 260.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.007402, allocations: 95.66 kB / 261 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.00751, allocations: 83.69 kB / 261.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.007857, allocations: 258.8 kB / 261.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.816e-05/0.007875, allocations: 0 / 261.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.007876, allocations: 4 kB / 261.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.318e-05/0.0079, allocations: 0 / 261.4 MB, free: 13.9 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.001134/0.009034, allocations: 0.7022 MB / 262.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.009076, allocations: 8.031 kB / 262.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.009186, allocations: 60.89 kB / 262.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000487/0.009673, allocations: 317.4 kB / 262.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.829e-05/0.009722, allocations: 29.38 kB / 262.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.895e-05/0.009791, allocations: 48.27 kB / 262.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.0103, allocations: 347.4 kB / 262.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.01033, allocations: 4.188 kB / 262.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.01036, allocations: 20.31 kB / 262.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.01038, allocations: 8.375 kB / 262.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.01061, allocations: 123.2 kB / 263 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.01246, allocations: 1.42 MB / 264.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.01279, allocations: 149.2 kB / 264.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.828e-05/0.01286, allocations: 44.78 kB / 264.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/0.0129, allocations: 4 kB / 264.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.01293, allocations: 34.55 kB / 264.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.174e-06/0.01293, allocations: 0 / 264.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003543/0.01329, allocations: 137 kB / 264.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.01333, allocations: 55.41 kB / 264.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.01367, allocations: 343.1 kB / 265.2 MB, free: 9.883 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.01369, allocations: 33.7 kB / 265.2 MB, free: 9.844 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.01386, allocations: 240.6 kB / 265.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.66e-05/0.01393, allocations: 87.25 kB / 265.5 MB, free: 9.516 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.01406, allocations: 85.38 kB / 265.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004318/0.01449, allocations: 354.7 kB / 266 MB, free: 9.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.321e-05/0.01454, allocations: 35.31 kB / 266 MB, free: 9.035 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.01464, allocations: 177.8 kB / 266.2 MB, free: 8.797 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.01486, allocations: 304.1 kB / 266.5 MB, free: 8.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01486, allocations: 0 / 266.5 MB, free: 8.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002199/0.01508, allocations: 253.3 kB / 266.7 MB, free: 8.176 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.0151, allocations: 4 kB / 266.7 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.01511, allocations: 8 kB / 266.7 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.01512, allocations: 11.94 kB / 266.7 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.01541, allocations: 115.8 kB / 266.8 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.01541, allocations: 8 kB / 266.9 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.033e-05/0.01549, allocations: 44.11 kB / 266.9 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.01551, allocations: 20 kB / 266.9 MB, free: 7.969 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 ) 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.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 (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.0001503/0.01566, allocations: 170.3 kB / 267.1 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.01569, allocations: 27.91 kB / 267.1 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.01589, allocations: 163.5 kB / 267.3 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.01589, allocations: 4 kB / 267.3 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.01589, allocations: 0 / 267.3 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.0159, allocations: 0 / 267.3 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.01608, allocations: 193.5 kB / 267.5 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01608, allocations: 0 / 267.5 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.01628, allocations: 75.92 kB / 267.5 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.01631, allocations: 39.69 kB / 267.6 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.01631, allocations: 3.938 kB / 267.6 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.01633, allocations: 12 kB / 267.6 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01633, allocations: 0 / 267.6 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01634, allocations: 3.984 kB / 267.6 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.01657, allocations: 317.1 kB / 267.9 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.01659, allocations: 11.94 kB / 267.9 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.489e-05/0.01664, allocations: 8 kB / 267.9 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.01668, allocations: 11.97 kB / 267.9 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.01669, allocations: 12 kB / 267.9 MB, free: 6.887 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.189e-05/0.01677, allocations: 124.7 kB / 268.1 MB, free: 6.762 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01677, allocations: 0 / 268.1 MB, free: 6.762 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001843/0.01696, allocations: 83.78 kB / 268.2 MB, free: 6.68 MB / 266.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 8.585e-05/0.01704, allocations: 88.34 kB / 268.2 MB, free: 6.586 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.01722, allocations: 150.5 kB / 268.4 MB, free: 6.438 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/0.01723, allocations: 8 kB / 268.4 MB, free: 6.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.419e-05/0.01729, allocations: 57.03 kB / 268.4 MB, free: 6.371 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.01748, allocations: 60.36 kB / 268.5 MB, free: 6.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008689/0.01834, allocations: 0.7185 MB / 269.2 MB, free: 5.566 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.028e-05/0.01841, allocations: 132.5 kB / 269.4 MB, free: 5.418 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.879e-05/0.01849, allocations: 39.27 kB / 269.4 MB, free: 5.383 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.21e-05/0.01859, allocations: 91.38 kB / 269.5 MB, free: 5.293 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01859, allocations: 0 / 269.5 MB, free: 5.293 MB / 266.7 MB Notification: Performance of Templates: time 0.004669/0.02326, allocations: 2.409 MB / 271.9 MB, free: 2.926 MB / 266.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.6402641236782074]