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.001467/0.001467, allocations: 84.73 kB / 19.44 MB, free: 348 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.001521/0.001521, allocations: 161.7 kB / 22.75 MB, free: 1.676 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.474/1.474, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.06536/0.06536, allocations: 8.607 MB / 268.2 MB, free: 4.957 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.244e-06/2.244e-06, allocations: 0 / 340.1 MB, free: 8.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/3.052e-05, allocations: 2.312 kB / 340.1 MB, free: 8.766 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.005602/0.005633, allocations: 3.874 MB / 344 MB, free: 4.867 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004065/0.009698, allocations: 1.817 MB / 345.8 MB, free: 3.047 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.01081, allocations: 98.94 kB / 345.9 MB, free: 2.949 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006327/0.01144, allocations: 185.5 kB / 346.1 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000842/0.01228, allocations: 201.9 kB / 346.3 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002306/0.01459, allocations: 0.9905 MB / 347.3 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001939/0.01653, allocations: 1.632 MB / 348.9 MB, free: 15.94 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009267/0.01745, allocations: 305.1 kB / 349.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00237/0.01982, allocations: 0.9391 MB / 350.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.02098, allocations: 446.1 kB / 350.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003995/0.02138, allocations: 128 kB / 350.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.02162, allocations: 128 kB / 350.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004261/0.02205, allocations: 334.6 kB / 351.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006318/0.02268, allocations: 402.6 kB / 351.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002328/0.02501, allocations: 1.389 MB / 352.9 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.02501, allocations: 0 / 352.9 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.02502, allocations: 0 / 352.9 MB, free: 11.87 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.314e-05/0.02504, allocations: 0 / 352.9 MB, free: 11.87 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.004584/0.02962, allocations: 1.739 MB / 354.7 MB, free: 10.08 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.02967, allocations: 8.031 kB / 354.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006166/0.03029, allocations: 279.8 kB / 355 MB, free: 9.801 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/0.03299, allocations: 1.056 MB / 356 MB, free: 8.699 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003811/0.03338, allocations: 312.7 kB / 356.3 MB, free: 8.344 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003175/0.03369, allocations: 136.3 kB / 356.5 MB, free: 8.211 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003268/0.03696, allocations: 1.6 MB / 358.1 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-05/0.037, allocations: 4.125 kB / 358.1 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/0.03716, allocations: 52.38 kB / 358.1 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/0.03721, allocations: 32.12 kB / 358.2 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.03935, allocations: 0.7804 MB / 358.9 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008985/0.04833, allocations: 4.864 MB / 363.8 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002364/0.0507, allocations: 0.8014 MB / 364.6 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009877/0.05168, allocations: 392.9 kB / 365 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.05179, allocations: 24.98 kB / 365 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.387e-05/0.05185, allocations: 47.56 kB / 365.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 3.707e-06/0.05185, allocations: 0 / 365.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.00307/0.05492, allocations: 1.135 MB / 366.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000349/0.05527, allocations: 372.8 kB / 366.6 MB, free: 13.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/0.05717, allocations: 1.039 MB / 367.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.05729, allocations: 45.7 kB / 367.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008666/0.05815, allocations: 0.6654 MB / 368.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005107/0.05866, allocations: 400.6 kB / 368.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000595/0.05926, allocations: 299.5 kB / 369 MB, free: 11.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.05946, allocations: 305.1 kB / 369.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009771/0.06043, allocations: 367.8 kB / 369.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/0.06237, allocations: 1.177 MB / 370.8 MB, free: 9.016 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/0.06514, allocations: 1.211 MB / 372 MB, free: 7.621 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.828e-05/0.06516, allocations: 7.984 kB / 372 MB, free: 7.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003734/0.0689, allocations: 1.453 MB / 373.5 MB, free: 6.152 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.742e-05/0.06894, allocations: 12 kB / 373.5 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.839e-05/0.06897, allocations: 12 kB / 373.5 MB, free: 6.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.071e-05/0.06903, allocations: 20 kB / 373.5 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/0.0712, allocations: 355.4 kB / 373.9 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.354e-05/0.07125, allocations: 27.92 kB / 373.9 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.07238, allocations: 158.9 kB / 374.1 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.07253, allocations: 64 kB / 374.1 MB, free: 5.516 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.0007101/0.07324, allocations: 307.2 kB / 374.4 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004055/0.07364, allocations: 171.1 kB / 374.6 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/0.07602, allocations: 1.058 MB / 375.6 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.07604, allocations: 16 kB / 375.7 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.07604, allocations: 0 / 375.7 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.07606, allocations: 7.969 kB / 375.7 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.07749, allocations: 0.8325 MB / 376.5 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.07749, allocations: 4 kB / 376.5 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001882/0.07937, allocations: 299.6 kB / 376.8 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.76e-05/0.07939, allocations: 4 kB / 376.8 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.0795, allocations: 39.98 kB / 376.8 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.07951, allocations: 4 kB / 376.8 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.07951, allocations: 0 / 376.8 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.08219, allocations: 1.498 MB / 378.3 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.08241, allocations: 138.8 kB / 378.5 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.08257, allocations: 28 kB / 378.5 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005694/0.08314, allocations: 35.97 kB / 378.5 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.08332, allocations: 76.84 kB / 378.6 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.28e-05/0.08339, allocations: 43.92 kB / 378.7 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009751/0.08437, allocations: 0.6284 MB / 379.3 MB, free: 284 kB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08437, allocations: 0 / 379.3 MB, free: 284 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008923/0.08526, allocations: 251.5 kB / 379.5 MB, free: 32 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.0002428/0.0855, allocations: 147.1 kB / 379.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001932/0.08743, allocations: 0.9232 MB / 380.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.08744, allocations: 4.062 kB / 380.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000771/0.08821, allocations: 437.5 kB / 381 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007673/0.08898, allocations: 166.3 kB / 381.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/0.09422, allocations: 2.734 MB / 383.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007644/0.09499, allocations: 0.6113 MB / 384.5 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007417/0.09573, allocations: 190.1 kB / 384.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/0.09606, allocations: 116.5 kB / 384.8 MB, free: 10.63 MB / 314.7 MB Notification: Performance of SimCode: time 6.62e-07/0.09606, allocations: 0 / 384.8 MB, free: 10.63 MB / 314.7 MB Notification: Performance of Templates: time 0.0226/0.1187, allocations: 9.015 MB / 393.9 MB, free: 1.715 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.770292998990044]