Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.001169/0.001169, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0011/0.0011, allocations: 169 kB / 23.27 MB, free: 1.223 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.082/1.082, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.04888/0.04888, allocations: 8.604 MB / 268.9 MB, free: 4.781 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.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 341.3 MB, free: 8.129 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.934e-05, allocations: 6.25 kB / 341.3 MB, free: 8.121 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.00286/0.002879, allocations: 2.189 MB / 343.5 MB, free: 5.918 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.0046, allocations: 1.002 MB / 344.5 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.004825, allocations: 23.81 kB / 344.5 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.005133, allocations: 91.22 kB / 344.6 MB, free: 4.797 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.005273, allocations: 71.44 kB / 344.7 MB, free: 4.727 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.006288, allocations: 399 kB / 345.1 MB, free: 4.336 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005678/0.006855, allocations: 0.5404 MB / 345.6 MB, free: 3.797 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.007029, allocations: 65.23 kB / 345.7 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003157/0.007345, allocations: 267.3 kB / 345.9 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.007665, allocations: 211.4 kB / 346.2 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.193e-05/0.007737, allocations: 36 kB / 346.2 MB, free: 3.227 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.007927, allocations: 107.9 kB / 346.3 MB, free: 3.121 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.008092, allocations: 163.5 kB / 346.5 MB, free: 2.961 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.008221, allocations: 131.5 kB / 346.6 MB, free: 2.832 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005193/0.00874, allocations: 430.5 kB / 347 MB, free: 2.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.008742, allocations: 0 / 347 MB, free: 2.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.008743, allocations: 3.938 kB / 347 MB, free: 2.406 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.008752, allocations: 0 / 347 MB, free: 2.406 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.00103/0.009782, allocations: 0.9062 MB / 347.9 MB, free: 1.457 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.009823, allocations: 8.031 kB / 347.9 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.009943, allocations: 100.6 kB / 348 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.01027, allocations: 377 kB / 348.4 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.01029, allocations: 37.36 kB / 348.4 MB, free: 0.918 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.01034, allocations: 52.31 kB / 348.5 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.01066, allocations: 436.4 kB / 348.9 MB, free: 396 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.01068, allocations: 8.172 kB / 348.9 MB, free: 388 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.0107, allocations: 24.31 kB / 348.9 MB, free: 364 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.01071, allocations: 19.94 kB / 348.9 MB, free: 344 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.01088, allocations: 192.4 kB / 349.1 MB, free: 144 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.01264, allocations: 2.102 MB / 351.2 MB, free: 13.96 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.01288, allocations: 189.2 kB / 351.4 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.396e-05/0.01297, allocations: 101.3 kB / 351.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.01299, allocations: 4 kB / 351.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.01317, allocations: 200.9 kB / 351.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.503e-06/0.01317, allocations: 0 / 351.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0004057/0.01358, allocations: 404.4 kB / 352.1 MB, free: 12.99 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.01362, allocations: 85.11 kB / 352.2 MB, free: 12.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.01389, allocations: 482.2 kB / 352.7 MB, free: 12.4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.0139, allocations: 29.7 kB / 352.7 MB, free: 12.37 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.01408, allocations: 362.9 kB / 353.1 MB, free: 12.01 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.74e-05/0.01415, allocations: 154.7 kB / 353.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.01426, allocations: 123.7 kB / 353.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.01443, allocations: 0.5468 MB / 353.9 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.879e-05/0.01451, allocations: 82.81 kB / 354 MB, free: 11.08 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.01471, allocations: 359.7 kB / 354.3 MB, free: 10.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008388/0.01555, allocations: 0.5926 MB / 354.9 MB, free: 9.883 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01556, allocations: 4 kB / 354.9 MB, free: 9.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0004613/0.01602, allocations: 0.5139 MB / 355.4 MB, free: 9.348 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.01605, allocations: 41.69 kB / 355.5 MB, free: 9.301 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.01606, allocations: 4 kB / 355.5 MB, free: 9.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.01607, allocations: 12 kB / 355.5 MB, free: 9.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.01633, allocations: 127.8 kB / 355.6 MB, free: 9.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.01634, allocations: 12 kB / 355.6 MB, free: 9.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.01647, allocations: 63.52 kB / 355.7 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.0165, allocations: 24 kB / 355.7 MB, free: 9.062 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.0002195/0.01672, allocations: 273.4 kB / 356 MB, free: 8.773 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.01677, allocations: 63.67 kB / 356 MB, free: 8.711 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.01714, allocations: 379.6 kB / 356.4 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01714, allocations: 7.984 kB / 356.4 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01714, allocations: 0 / 356.4 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.01715, allocations: 4 kB / 356.4 MB, free: 8.312 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.01738, allocations: 280.8 kB / 356.7 MB, free: 8.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01738, allocations: 4 kB / 356.7 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.01762, allocations: 87.89 kB / 356.8 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01763, allocations: 0 / 356.8 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.01765, allocations: 12 kB / 356.8 MB, free: 7.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01765, allocations: 7.922 kB / 356.8 MB, free: 7.902 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01765, allocations: 0 / 356.8 MB, free: 7.902 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.0181, allocations: 0.528 MB / 357.3 MB, free: 7.328 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.01814, allocations: 43.61 kB / 357.4 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.01818, allocations: 19.98 kB / 357.4 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.557e-05/0.01825, allocations: 8 kB / 357.4 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.0183, allocations: 23.95 kB / 357.4 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.01831, allocations: 15.98 kB / 357.4 MB, free: 7.219 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000141/0.01846, allocations: 275 kB / 357.7 MB, free: 6.949 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01846, allocations: 0 / 357.7 MB, free: 6.949 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002748/0.01873, allocations: 123.7 kB / 357.8 MB, free: 6.828 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.0001538/0.01888, allocations: 139.2 kB / 358 MB, free: 6.684 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.01921, allocations: 384.5 kB / 358.3 MB, free: 6.281 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01921, allocations: 0 / 358.3 MB, free: 6.281 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.01934, allocations: 208.5 kB / 358.5 MB, free: 6.055 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.01954, allocations: 54.58 kB / 358.6 MB, free: 6 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008611/0.02041, allocations: 0.9735 MB / 359.6 MB, free: 4.984 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.293e-05/0.02049, allocations: 149.7 kB / 359.7 MB, free: 4.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001/0.02059, allocations: 52.16 kB / 359.8 MB, free: 4.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.02073, allocations: 142.2 kB / 359.9 MB, free: 4.629 MB / 282.7 MB Notification: Performance of SimCode: time 8.81e-07/0.02073, allocations: 0 / 359.9 MB, free: 4.629 MB / 282.7 MB Notification: Performance of Templates: time 0.0066/0.02733, allocations: 3.962 MB / 363.9 MB, free: 0.7109 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.802972166799009]