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.001316/0.001316, allocations: 88.72 kB / 19.44 MB, free: 356 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.001448/0.001448, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.452/1.452, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.06565/0.06565, allocations: 8.604 MB / 268.2 MB, free: 4.934 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 1.292e-06/1.292e-06, allocations: 3.938 kB / 340.1 MB, free: 8.738 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.158e-05, allocations: 6.25 kB / 340.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.002426/0.002447, allocations: 2.151 MB / 342.3 MB, free: 6.562 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.003848, allocations: 0.9821 MB / 343.3 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.004, allocations: 23.75 kB / 343.3 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.004255, allocations: 99.27 kB / 343.4 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.004374, allocations: 67.44 kB / 343.5 MB, free: 5.387 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008641/0.005238, allocations: 399 kB / 343.8 MB, free: 4.996 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004151/0.005653, allocations: 0.5404 MB / 344.4 MB, free: 4.457 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.005781, allocations: 61.23 kB / 344.4 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.005989, allocations: 267.4 kB / 344.7 MB, free: 4.133 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.006233, allocations: 215.4 kB / 344.9 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.384e-05/0.006287, allocations: 32 kB / 345 MB, free: 3.891 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.00642, allocations: 103.9 kB / 345.1 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.006532, allocations: 163.5 kB / 345.2 MB, free: 3.629 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.00665, allocations: 139.5 kB / 345.3 MB, free: 3.492 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004274/0.007078, allocations: 0.545 MB / 345.9 MB, free: 2.945 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.00708, allocations: 0 / 345.9 MB, free: 2.945 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007081, allocations: 0 / 345.9 MB, free: 2.945 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.007087, allocations: 0 / 345.9 MB, free: 2.945 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.001084/0.008171, allocations: 0.8064 MB / 346.7 MB, free: 2.102 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.008203, allocations: 12.03 kB / 346.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.008336, allocations: 100.5 kB / 346.8 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000473/0.008809, allocations: 402.1 kB / 347.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.008838, allocations: 33.38 kB / 347.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.151e-05/0.00891, allocations: 52.31 kB / 347.3 MB, free: 1.488 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006923/0.009602, allocations: 0.5764 MB / 347.9 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.009629, allocations: 8.188 kB / 347.9 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.009669, allocations: 20.38 kB / 347.9 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.009678, allocations: 11.94 kB / 347.9 MB, free: 0.832 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005833/0.01026, allocations: 445.3 kB / 348.3 MB, free: 400 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003236/0.0135, allocations: 1.968 MB / 350.3 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006502/0.01415, allocations: 288.1 kB / 350.6 MB, free: 14.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/0.01449, allocations: 194.5 kB / 350.8 MB, free: 13.85 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.01452, allocations: 4 kB / 350.8 MB, free: 13.85 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004963/0.01502, allocations: 291.2 kB / 351.1 MB, free: 13.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.703e-06/0.01502, allocations: 4 kB / 351.1 MB, free: 13.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.00126/0.01628, allocations: 0.6566 MB / 351.7 MB, free: 12.85 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.01636, allocations: 85.11 kB / 351.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000619/0.01698, allocations: 473.6 kB / 352.3 MB, free: 12.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.509e-05/0.01702, allocations: 33.7 kB / 352.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.01731, allocations: 296.3 kB / 352.6 MB, free: 11.94 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.01746, allocations: 142.9 kB / 352.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.01765, allocations: 114.1 kB / 352.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000261/0.01791, allocations: 366.7 kB / 353.2 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.01827, allocations: 202.8 kB / 353.4 MB, free: 11.11 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.01883, allocations: 395.3 kB / 353.8 MB, free: 10.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002624/0.02146, allocations: 1.125 MB / 354.9 MB, free: 9.406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.02147, allocations: 8 kB / 354.9 MB, free: 9.398 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001452/0.02292, allocations: 0.822 MB / 355.7 MB, free: 8.559 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.019e-05/0.02297, allocations: 33.7 kB / 355.8 MB, free: 8.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.02298, allocations: 8 kB / 355.8 MB, free: 8.512 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.02301, allocations: 8 kB / 355.8 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/0.02357, allocations: 139.8 kB / 355.9 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-05/0.02359, allocations: 15.92 kB / 355.9 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/0.02389, allocations: 71.5 kB / 356 MB, free: 8.281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/0.02395, allocations: 28.28 kB / 356 MB, free: 8.254 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.0004565/0.0244, allocations: 283.1 kB / 356.3 MB, free: 7.957 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.02451, allocations: 59.67 kB / 356.4 MB, free: 7.898 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.0256, allocations: 0.5625 MB / 356.9 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.02561, allocations: 4 kB / 356.9 MB, free: 7.316 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.02561, allocations: 0 / 356.9 MB, free: 7.316 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.02562, allocations: 3.984 kB / 356.9 MB, free: 7.312 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005417/0.02616, allocations: 364.8 kB / 357.3 MB, free: 6.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.02617, allocations: 4 kB / 357.3 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005434/0.02671, allocations: 87.88 kB / 357.4 MB, free: 6.836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.02671, allocations: 0 / 357.4 MB, free: 6.836 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.663e-05/0.02676, allocations: 15.98 kB / 357.4 MB, free: 6.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.02676, allocations: 4 kB / 357.4 MB, free: 6.816 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.02677, allocations: 0 / 357.4 MB, free: 6.816 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.02813, allocations: 0.7895 MB / 358.2 MB, free: 5.984 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.891e-05/0.02821, allocations: 47.61 kB / 358.2 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.224e-05/0.02828, allocations: 23.92 kB / 358.3 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.02844, allocations: 15.98 kB / 358.3 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/0.02852, allocations: 19.97 kB / 358.3 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/0.02856, allocations: 15.98 kB / 358.3 MB, free: 5.863 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004074/0.02897, allocations: 307 kB / 358.6 MB, free: 5.562 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02897, allocations: 4 kB / 358.6 MB, free: 5.559 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004874/0.02946, allocations: 119.8 kB / 358.7 MB, free: 5.441 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.0002828/0.02974, allocations: 141.8 kB / 358.9 MB, free: 5.293 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.03077, allocations: 0.5808 MB / 359.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.03077, allocations: 0 / 359.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004192/0.03119, allocations: 274.5 kB / 359.7 MB, free: 4.402 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.03156, allocations: 58.8 kB / 359.8 MB, free: 4.352 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.03345, allocations: 1.096 MB / 360.9 MB, free: 3.219 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.03382, allocations: 292.4 kB / 361.2 MB, free: 2.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002791/0.0341, allocations: 108.1 kB / 361.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.0342, allocations: 36.5 kB / 361.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0342, allocations: 0 / 361.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of Templates: time 0.00982/0.04402, allocations: 3.696 MB / 365 MB, free: 15.09 MB / 298.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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.443147417041473]