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.0011/0.0011, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001719/0.002819, 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.001084/0.001084, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001452/0.002536, allocations: 475.6 kB / 11.8 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.9791/0.9791, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.115/1.094, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.03619/0.03619, allocations: 8.621 MB / 252.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004563/0.04075, allocations: 3.126 MB / 255.9 MB, free: 3.496 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.262e-06/1.262e-06, allocations: 0 / 257.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.628e-06/1.089e-05, allocations: 6.312 kB / 257.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.002081/0.002092, allocations: 2.243 MB / 259.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.003157, allocations: 1.048 MB / 260.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.003257, allocations: 23.75 kB / 260.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.003407, allocations: 99.28 kB / 260.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.424e-05/0.003492, allocations: 75.42 kB / 260.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.003972, allocations: 379 kB / 261 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003739/0.004346, allocations: 0.5366 MB / 261.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.004449, allocations: 65.22 kB / 261.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.004652, allocations: 283.3 kB / 261.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.004835, allocations: 203.5 kB / 262.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.16e-05/0.004877, allocations: 36 kB / 262.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.005007, allocations: 111.9 kB / 262.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.712e-05/0.005094, allocations: 127.6 kB / 262.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.027e-05/0.005174, allocations: 103.6 kB / 262.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.005463, allocations: 382.5 kB / 262.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.005471, allocations: 11.92 kB / 262.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005472, allocations: 0 / 262.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.00548, allocations: 0 / 262.9 MB, free: 12.46 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.0006962/0.006176, allocations: 0.8555 MB / 263.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.17e-05/0.006198, allocations: 12.03 kB / 263.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.446e-05/0.006272, allocations: 72.88 kB / 263.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.00658, allocations: 359.5 kB / 264.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.006604, allocations: 37.31 kB / 264.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/0.006654, allocations: 48.33 kB / 264.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.006986, allocations: 429.7 kB / 264.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.007, allocations: 4.188 kB / 264.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.007024, allocations: 16.38 kB / 264.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.007034, allocations: 19.94 kB / 264.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.007216, allocations: 187.3 kB / 264.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.0084, allocations: 1.581 MB / 266.5 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.008598, allocations: 210.9 kB / 266.7 MB, free: 8.477 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.107e-05/0.008669, allocations: 90.53 kB / 266.8 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.008687, allocations: 7.984 kB / 266.8 MB, free: 8.371 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.008841, allocations: 207.5 kB / 267 MB, free: 8.145 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.122e-06/0.008842, allocations: 0 / 267 MB, free: 8.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0002662/0.009108, allocations: 323.6 kB / 267.3 MB, free: 7.797 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.009158, allocations: 170.2 kB / 267.5 MB, free: 7.594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.009359, allocations: 407 kB / 267.9 MB, free: 7.184 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.009379, allocations: 33.7 kB / 267.9 MB, free: 7.145 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/0.009476, allocations: 253.2 kB / 268.1 MB, free: 6.887 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.078e-05/0.009547, allocations: 146.8 kB / 268.3 MB, free: 6.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.363e-05/0.009631, allocations: 110.1 kB / 268.4 MB, free: 6.629 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.194e-05/0.009723, allocations: 374.6 kB / 268.8 MB, free: 6.254 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.924e-05/0.009792, allocations: 85.66 kB / 268.8 MB, free: 6.164 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.009933, allocations: 275.4 kB / 269.1 MB, free: 5.805 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.01029, allocations: 0.5411 MB / 269.6 MB, free: 5.156 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01029, allocations: 0 / 269.6 MB, free: 5.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0003177/0.01061, allocations: 421.8 kB / 270.1 MB, free: 4.727 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.01064, allocations: 45.69 kB / 270.1 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01064, allocations: 7.938 kB / 270.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.01066, allocations: 12 kB / 270.1 MB, free: 4.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.01097, allocations: 166.7 kB / 270.3 MB, free: 4.496 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.01098, allocations: 8 kB / 270.3 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.01109, allocations: 67.52 kB / 270.4 MB, free: 4.422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.01111, allocations: 23.94 kB / 270.4 MB, free: 4.398 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.000162/0.01127, allocations: 222.2 kB / 270.6 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.01131, allocations: 47.95 kB / 270.6 MB, free: 4.121 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.01157, allocations: 311.5 kB / 270.9 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01157, allocations: 0 / 270.9 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.01158, allocations: 4 kB / 271 MB, free: 3.797 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01158, allocations: 3.984 kB / 271 MB, free: 3.793 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.01176, allocations: 229.4 kB / 271.2 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01176, allocations: 4 kB / 271.2 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.01204, allocations: 108.7 kB / 271.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.01207, allocations: 47.59 kB / 271.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01208, allocations: 7.938 kB / 271.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.0121, allocations: 15.98 kB / 271.4 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.0121, allocations: 0 / 271.4 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.0121, allocations: 4 kB / 271.4 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.01244, allocations: 443.8 kB / 271.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.01247, allocations: 19.98 kB / 271.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.851e-05/0.01253, allocations: 8 kB / 271.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.01257, allocations: 27.95 kB / 271.9 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.01259, allocations: 4 kB / 271.9 MB, free: 2.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.648e-05/0.01268, allocations: 160.7 kB / 272 MB, free: 2.684 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01268, allocations: 0 / 272 MB, free: 2.684 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002101/0.01289, allocations: 119.8 kB / 272.1 MB, free: 2.566 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.0001306/0.01302, allocations: 135.6 kB / 272.3 MB, free: 2.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002863/0.01331, allocations: 389.6 kB / 272.6 MB, free: 2.023 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/0.01332, allocations: 12 kB / 272.7 MB, free: 2.012 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.01345, allocations: 209.8 kB / 272.9 MB, free: 1.785 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.01368, allocations: 282.8 kB / 273.1 MB, free: 1.477 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00086/0.01454, allocations: 0.9528 MB / 274.1 MB, free: 492 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.598e-05/0.01462, allocations: 149.7 kB / 274.2 MB, free: 320 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.489e-05/0.01471, allocations: 56.25 kB / 274.3 MB, free: 260 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.01485, allocations: 123.3 kB / 274.4 MB, free: 136 kB / 266.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01485, allocations: 0 / 274.4 MB, free: 136 kB / 266.7 MB Notification: Performance of Templates: time 0.1379/0.1527, allocations: 3.564 MB / 278 MB, free: 13.81 MB / 266.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.5988081386312842]