Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.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.001302/0.001302, allocations: 93.06 kB / 19.65 MB, free: 280 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.001182/0.001182, allocations: 169 kB / 23.02 MB, free: 1.555 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 0.9811/0.9811, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.03738/0.03738, allocations: 8.6 MB / 268.5 MB, free: 4.93 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.Applications.ControlProblems.ProcessControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl") translateModel(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 340.9 MB, free: 8.426 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.737e-05, allocations: 8.422 kB / 340.9 MB, free: 8.418 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.003595/0.003622, allocations: 4.046 MB / 344.9 MB, free: 4.348 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.006187, allocations: 1.825 MB / 346.7 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008442/0.007031, allocations: 98.88 kB / 346.8 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.007395, allocations: 189.5 kB / 347 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005752/0.00797, allocations: 186 kB / 347.2 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.009689, allocations: 0.9905 MB / 348.2 MB, free: 1.059 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.0112, allocations: 1.632 MB / 349.8 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005212/0.01172, allocations: 305.2 kB / 350.1 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.0129, allocations: 0.9429 MB / 351.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005882/0.01348, allocations: 438.2 kB / 351.5 MB, free: 13.72 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002219/0.01371, allocations: 128 kB / 351.6 MB, free: 13.6 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.01382, allocations: 128 kB / 351.7 MB, free: 13.47 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.01401, allocations: 338.6 kB / 352.1 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.01428, allocations: 398.6 kB / 352.5 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009865/0.01527, allocations: 0.945 MB / 353.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.01527, allocations: 0 / 353.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.01528, allocations: 4 kB / 353.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.681e-05/0.0153, allocations: 0 / 353.4 MB, free: 11.8 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.002184/0.01749, allocations: 1.839 MB / 355.2 MB, free: 9.906 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.01753, allocations: 8.031 kB / 355.3 MB, free: 9.898 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/0.01783, allocations: 287.8 kB / 355.5 MB, free: 9.617 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.01901, allocations: 1.04 MB / 356.6 MB, free: 8.531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.01917, allocations: 312.7 kB / 356.9 MB, free: 8.176 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/0.01936, allocations: 140.3 kB / 357 MB, free: 8.039 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.02074, allocations: 1.526 MB / 358.5 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.02076, allocations: 8.125 kB / 358.6 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-05/0.02083, allocations: 48.38 kB / 358.6 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.02085, allocations: 32.12 kB / 358.6 MB, free: 6.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000748/0.0216, allocations: 0.5343 MB / 359.2 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004234/0.02583, allocations: 6.294 MB / 365.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009856/0.02682, allocations: 0.5977 MB / 366.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/0.02716, allocations: 268.2 kB / 366.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.614e-05/0.02722, allocations: 32.98 kB / 366.4 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.02726, allocations: 58.33 kB / 366.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 3.346e-06/0.02726, allocations: 0 / 366.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.001144/0.02841, allocations: 0.8309 MB / 367.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.02853, allocations: 376.8 kB / 367.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008025/0.02933, allocations: 1.015 MB / 368.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.02938, allocations: 49.7 kB / 368.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/0.02976, allocations: 0.7076 MB / 369.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.02997, allocations: 404.6 kB / 369.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.03024, allocations: 305.2 kB / 370.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.03035, allocations: 480.7 kB / 370.5 MB, free: 9.859 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.03066, allocations: 207.9 kB / 370.7 MB, free: 9.656 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007195/0.03138, allocations: 1.205 MB / 371.9 MB, free: 8.082 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009762/0.03235, allocations: 1.104 MB / 373.1 MB, free: 6.727 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.03236, allocations: 4 kB / 373.1 MB, free: 6.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001248/0.03361, allocations: 1.16 MB / 374.2 MB, free: 5.555 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.03364, allocations: 15.98 kB / 374.2 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.03365, allocations: 12 kB / 374.2 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.065e-05/0.03369, allocations: 20 kB / 374.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000812/0.0345, allocations: 351.8 kB / 374.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.272e-05/0.03452, allocations: 35.86 kB / 374.6 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.03489, allocations: 150.9 kB / 374.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/0.03495, allocations: 67.98 kB / 374.9 MB, free: 4.914 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 32 (R_FS.satLOW_in,R_FS.satHIGH_in,R_FS.ATreq_in,R_FS.TS_in,R_Osc.TS_in,R_US.TS_in,R_OS.TS_in,R_iD.TS_in,R_i.TS_in,R_FOD.TS_in,R_FO.TS_in,R_Osc.satLOW_in,R_Osc.satHIGH_in,R_Osc.ATreq_in,R_US.satLOW_in,R_US.satHIGH_in,R_US.ATreq_in,R_OS.satLOW_in,R_OS.satHIGH_in,R_OS.ATreq_in,R_iD.satLOW_in,R_iD.satHIGH_in,R_iD.ATreq_in,R_i.satLOW_in,R_i.satHIGH_in,R_i.ATreq_in,R_FOD.satLOW_in,R_FOD.satHIGH_in,R_FOD.ATreq_in,R_FO.satLOW_in,R_FO.satHIGH_in,R_FO.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 195 * 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.0002686/0.03522, allocations: 270 kB / 375.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.03536, allocations: 167.1 kB / 375.3 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.03642, allocations: 0.8587 MB / 376.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.03642, allocations: 12 kB / 376.2 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.03643, allocations: 0 / 376.2 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.03644, allocations: 3.984 kB / 376.2 MB, free: 3.586 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007995/0.03724, allocations: 0.7868 MB / 376.9 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.03724, allocations: 0 / 376.9 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009068/0.03815, allocations: 303.6 kB / 377.2 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.03815, allocations: 8 kB / 377.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.618e-05/0.03821, allocations: 31.98 kB / 377.3 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.03822, allocations: 4 kB / 377.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.03822, allocations: 4 kB / 377.3 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.03947, allocations: 1.187 MB / 378.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.03959, allocations: 142.8 kB / 378.6 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.209e-05/0.03967, allocations: 28 kB / 378.6 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.03989, allocations: 28 kB / 378.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.04, allocations: 76.84 kB / 378.7 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.04003, allocations: 35.98 kB / 378.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004366/0.04047, allocations: 0.5815 MB / 379.4 MB, free: 340 kB / 298.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.04047, allocations: 0 / 379.4 MB, free: 340 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.000544/0.04101, allocations: 255.5 kB / 379.6 MB, free: 84 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (NoControl.firstOrder.y,NoControl.firstOrder1.y,NoControl.integrator.y,NoControl.integrator1.y,NoControl.leadLag.dy,NoControl.firstOrder2.y,NoControl.leadLag1.dy,NoControl.firstOrder3.y,NoControl.complexPoles.y,NoControl.complexPoles.dy,NoControl.leadLag2.dy,NoControl.firstOrder4.y,Controlled.firstOrder.y,Controlled.firstOrder1.y,Controlled.integrator.y,Controlled.integrator1.y,Controlled.leadLag.dy,Controlled.firstOrder2.y,Controlled.leadLag1.dy,Controlled.firstOrder3.y,Controlled.complexPoles.y,Controlled.complexPoles.dy,Controlled.leadLag2.dy,Controlled.firstOrder4.y,R_FO.Iaction,R_FO.Fder,R_FOD.Iaction,R_FOD.Fder,R_i.Iaction,R_i.Fder,R_iD.Iaction,R_iD.Fder,R_OS.Iaction,R_OS.Fder,R_US.Iaction,R_US.Fder,R_Osc.Iaction,R_Osc.Fder,R_FS.Iaction,R_FS.Fder) * 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 (115): * Single equations (assignments): 115 * 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 0.0001614/0.04117, allocations: 147.1 kB / 379.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.04223, allocations: 0.7392 MB / 380.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.04223, allocations: 0 / 380.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003428/0.04257, allocations: 351.2 kB / 380.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.04307, allocations: 169.9 kB / 381 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.04587, allocations: 2.608 MB / 383.6 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.04603, allocations: 256.9 kB / 383.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004048/0.04644, allocations: 194.1 kB / 384 MB, free: 11.56 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.04665, allocations: 108.5 kB / 384.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of SimCode: time 2.094e-06/0.04666, allocations: 3.938 kB / 384.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of Templates: time 0.01437/0.06103, allocations: 9.052 MB / 393.2 MB, free: 2.484 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.sim & ./IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3076674840413034]