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.001424/0.001424, allocations: 92.22 kB / 19.65 MB, free: 276 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.001658/0.001658, allocations: 173 kB / 23.02 MB, free: 1.547 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.002/1.002, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.03614/0.03614, allocations: 8.61 MB / 268.6 MB, free: 4.914 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.633e-06/1.633e-06, allocations: 0 / 340.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.666e-05, allocations: 6.25 kB / 340.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.0025/0.002526, allocations: 2.224 MB / 343.1 MB, free: 6.152 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.004092, allocations: 1.022 MB / 344.1 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002798/0.004372, allocations: 19.75 kB / 344.1 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.004694, allocations: 103.2 kB / 344.2 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.004847, allocations: 67.5 kB / 344.3 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.005935, allocations: 395 kB / 344.7 MB, free: 4.551 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004719/0.006407, allocations: 0.5521 MB / 345.2 MB, free: 4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.006557, allocations: 61.23 kB / 345.3 MB, free: 3.938 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.006798, allocations: 267.4 kB / 345.6 MB, free: 3.676 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.007046, allocations: 215.4 kB / 345.8 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.0071, allocations: 36 kB / 345.8 MB, free: 3.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.007241, allocations: 107.9 kB / 345.9 MB, free: 3.324 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.007349, allocations: 163.4 kB / 346.1 MB, free: 3.164 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.556e-05/0.007445, allocations: 135.5 kB / 346.2 MB, free: 3.031 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004125/0.007858, allocations: 426.4 kB / 346.6 MB, free: 2.613 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.007862, allocations: 0 / 346.6 MB, free: 2.613 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.007864, allocations: 8 kB / 346.6 MB, free: 2.605 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.007873, allocations: 0 / 346.6 MB, free: 2.605 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.0009335/0.008807, allocations: 0.9218 MB / 347.6 MB, free: 1.641 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.008848, allocations: 8.031 kB / 347.6 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.008957, allocations: 104.5 kB / 347.7 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.009331, allocations: 392.9 kB / 348.1 MB, free: 1.117 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.00936, allocations: 33.38 kB / 348.1 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.009412, allocations: 44.38 kB / 348.1 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.009847, allocations: 468.5 kB / 348.6 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.00987, allocations: 12.12 kB / 348.6 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.009898, allocations: 16.38 kB / 348.6 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.009911, allocations: 15.94 kB / 348.6 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/0.01018, allocations: 235.4 kB / 348.9 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.01208, allocations: 2.242 MB / 351.1 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.01242, allocations: 192.7 kB / 351.3 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.01253, allocations: 109.3 kB / 351.4 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.01255, allocations: 4 kB / 351.4 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002216/0.01277, allocations: 212.9 kB / 351.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.733e-06/0.01278, allocations: 0 / 351.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.000524/0.0133, allocations: 432.5 kB / 352 MB, free: 12.9 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.01334, allocations: 81.11 kB / 352.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.01369, allocations: 498.4 kB / 352.6 MB, free: 12.3 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.01371, allocations: 33.7 kB / 352.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.01388, allocations: 355 kB / 353 MB, free: 11.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.419e-05/0.01396, allocations: 146.8 kB / 353.1 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.01407, allocations: 119.8 kB / 353.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.01423, allocations: 0.5469 MB / 353.8 MB, free: 11.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.01436, allocations: 102.8 kB / 353.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.01459, allocations: 372.5 kB / 354.2 MB, free: 10.49 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005445/0.01514, allocations: 0.6355 MB / 354.9 MB, free: 9.727 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.01514, allocations: 0 / 354.9 MB, free: 9.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0006828/0.01582, allocations: 0.5529 MB / 355.4 MB, free: 9.156 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.261e-05/0.01587, allocations: 53.78 kB / 355.5 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.01589, allocations: 4 kB / 355.5 MB, free: 9.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.01591, allocations: 8 kB / 355.5 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.01623, allocations: 131.8 kB / 355.6 MB, free: 8.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.01624, allocations: 15.92 kB / 355.6 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.01641, allocations: 71.5 kB / 355.7 MB, free: 8.871 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.01643, allocations: 24 kB / 355.7 MB, free: 8.848 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.0002766/0.01671, allocations: 273.3 kB / 356 MB, free: 8.559 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.01677, allocations: 67.61 kB / 356.1 MB, free: 8.492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004801/0.01725, allocations: 399.9 kB / 356.5 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.01726, allocations: 4 kB / 356.5 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.01726, allocations: 0 / 356.5 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.01727, allocations: 3.984 kB / 356.5 MB, free: 8.078 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.01757, allocations: 352.2 kB / 356.8 MB, free: 7.699 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01758, allocations: 0 / 356.8 MB, free: 7.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.01785, allocations: 83.88 kB / 356.9 MB, free: 7.617 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.01786, allocations: 4 kB / 356.9 MB, free: 7.613 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.0179, allocations: 27.97 kB / 356.9 MB, free: 7.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.0179, allocations: 0 / 356.9 MB, free: 7.586 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.0179, allocations: 0 / 356.9 MB, free: 7.586 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.01847, allocations: 0.5509 MB / 357.5 MB, free: 6.988 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.01852, allocations: 47.61 kB / 357.5 MB, free: 6.941 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.733e-05/0.01857, allocations: 15.98 kB / 357.5 MB, free: 6.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.575e-05/0.01866, allocations: 15.98 kB / 357.6 MB, free: 6.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.01872, allocations: 19.95 kB / 357.6 MB, free: 6.891 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.01874, allocations: 15.98 kB / 357.6 MB, free: 6.875 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002123/0.01896, allocations: 299 kB / 357.9 MB, free: 6.586 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.01896, allocations: 0 / 357.9 MB, free: 6.586 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003356/0.01929, allocations: 123.7 kB / 358 MB, free: 6.465 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.0001879/0.01948, allocations: 139.2 kB / 358.1 MB, free: 6.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000487/0.01997, allocations: 428.6 kB / 358.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01997, allocations: 0 / 358.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.02014, allocations: 212.6 kB / 358.8 MB, free: 5.645 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.02047, allocations: 63.02 kB / 358.8 MB, free: 5.582 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.02161, allocations: 0.9763 MB / 359.8 MB, free: 4.562 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.827e-05/0.0217, allocations: 150.2 kB / 359.9 MB, free: 4.398 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.02184, allocations: 92.09 kB / 360 MB, free: 4.309 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.545e-05/0.02191, allocations: 36.5 kB / 360.1 MB, free: 4.273 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02191, allocations: 0 / 360.1 MB, free: 4.273 MB / 282.7 MB Notification: Performance of Templates: time 0.007745/0.02966, allocations: 3.865 MB / 363.9 MB, free: 448 kB / 282.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.9733724338002503]