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.001634/0.001634, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00182/0.00182, allocations: 173 kB / 23.49 MB, free: 1.059 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.105/1.105, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.03958/0.03958, allocations: 8.605 MB / 268.9 MB, free: 4.996 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 1.913e-06/1.913e-06, allocations: 0 / 340.9 MB, free: 8.738 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.788e-05, allocations: 2.312 kB / 340.9 MB, free: 8.734 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.003522/0.00355, allocations: 4.025 MB / 344.9 MB, free: 4.688 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.006111, allocations: 1.814 MB / 346.7 MB, free: 2.871 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005977/0.006708, allocations: 102.9 kB / 346.8 MB, free: 2.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.007005, allocations: 181.6 kB / 347 MB, free: 2.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004346/0.00744, allocations: 194 kB / 347.2 MB, free: 2.398 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.008675, allocations: 0.9944 MB / 348.2 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.009709, allocations: 1.632 MB / 349.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004475/0.01016, allocations: 301.2 kB / 350.1 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008939/0.01105, allocations: 0.9468 MB / 351.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004794/0.01153, allocations: 438.2 kB / 351.5 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.01171, allocations: 128 kB / 351.6 MB, free: 13.94 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.01182, allocations: 128 kB / 351.7 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.012, allocations: 334.6 kB / 352.1 MB, free: 13.49 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002434/0.01224, allocations: 402.6 kB / 352.4 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008117/0.01305, allocations: 0.941 MB / 353.4 MB, free: 12.15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.01305, allocations: 0 / 353.4 MB, free: 12.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.01306, allocations: 0 / 353.4 MB, free: 12.15 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.01307, allocations: 4 kB / 353.4 MB, free: 12.14 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.001941/0.01501, allocations: 1.843 MB / 355.2 MB, free: 10.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.01505, allocations: 12.03 kB / 355.2 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002711/0.01532, allocations: 279.8 kB / 355.5 MB, free: 9.965 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.01644, allocations: 1.043 MB / 356.6 MB, free: 8.875 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.01661, allocations: 316.7 kB / 356.9 MB, free: 8.516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.01677, allocations: 140.3 kB / 357 MB, free: 8.379 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.01816, allocations: 1.526 MB / 358.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.01819, allocations: 4.125 kB / 358.5 MB, free: 6.551 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-05/0.01826, allocations: 52.38 kB / 358.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/0.01828, allocations: 32.12 kB / 358.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007464/0.01903, allocations: 0.5265 MB / 359.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00458/0.02361, allocations: 6.294 MB / 365.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009797/0.02459, allocations: 0.6064 MB / 366.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.02493, allocations: 268 kB / 366.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.939e-05/0.02499, allocations: 24.98 kB / 366.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.02502, allocations: 54.33 kB / 366.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 4.829e-06/0.02503, allocations: 0 / 366.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.001114/0.02614, allocations: 0.8348 MB / 367.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.02628, allocations: 376.8 kB / 367.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008408/0.02712, allocations: 1.015 MB / 368.6 MB, free: 12.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-05/0.02718, allocations: 53.7 kB / 368.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/0.02761, allocations: 0.7036 MB / 369.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.02782, allocations: 404.6 kB / 369.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.02808, allocations: 305.2 kB / 370.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.02822, allocations: 488.7 kB / 370.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.02861, allocations: 211.9 kB / 370.7 MB, free: 9.992 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008011/0.02941, allocations: 1.205 MB / 371.9 MB, free: 8.418 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.03048, allocations: 1.1 MB / 373 MB, free: 7.066 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.03049, allocations: 4 kB / 373 MB, free: 7.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001283/0.03177, allocations: 1.164 MB / 374.2 MB, free: 5.891 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.03179, allocations: 8 kB / 374.2 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.03181, allocations: 16 kB / 374.2 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.03183, allocations: 20 kB / 374.3 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008013/0.03263, allocations: 351.4 kB / 374.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.351e-05/0.03266, allocations: 40.14 kB / 374.6 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.03302, allocations: 142.9 kB / 374.8 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.684e-05/0.03307, allocations: 64 kB / 374.8 MB, free: 5.262 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.0002744/0.03335, allocations: 269.9 kB / 375.1 MB, free: 4.988 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.0335, allocations: 171.1 kB / 375.3 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.03454, allocations: 0.8587 MB / 376.1 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.03455, allocations: 12 kB / 376.1 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.03455, allocations: 0 / 376.1 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.03456, allocations: 3.984 kB / 376.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007775/0.03534, allocations: 0.7829 MB / 376.9 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.03534, allocations: 4 kB / 376.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009404/0.03628, allocations: 303.6 kB / 377.2 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.03629, allocations: 8 kB / 377.2 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.277e-05/0.03635, allocations: 31.98 kB / 377.3 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.03636, allocations: 4 kB / 377.3 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.03636, allocations: 0 / 377.3 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.03761, allocations: 1.194 MB / 378.5 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.03773, allocations: 134.8 kB / 378.6 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.874e-05/0.03782, allocations: 31.98 kB / 378.6 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.03804, allocations: 35.98 kB / 378.7 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.03816, allocations: 76.84 kB / 378.7 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.03819, allocations: 31.98 kB / 378.8 MB, free: 1.258 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004694/0.03866, allocations: 0.5854 MB / 379.4 MB, free: 0.668 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03866, allocations: 0 / 379.4 MB, free: 0.668 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005898/0.03925, allocations: 255.5 kB / 379.6 MB, free: 428 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.0001461/0.0394, allocations: 143.1 kB / 379.7 MB, free: 272 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000928/0.04032, allocations: 0.7356 MB / 380.5 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.04033, allocations: 7.938 kB / 380.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003634/0.04069, allocations: 343.2 kB / 380.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.04121, allocations: 171.6 kB / 381 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.04502, allocations: 2.607 MB / 383.6 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.04524, allocations: 256.9 kB / 383.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005947/0.04583, allocations: 190.1 kB / 384 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.04609, allocations: 116.4 kB / 384.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of SimCode: time 2.264e-06/0.04609, allocations: 0 / 384.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of Templates: time 0.01847/0.06456, allocations: 9.053 MB / 393.2 MB, free: 2.828 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.2721645128913224]