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.0008856/0.0008856, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.0009339/0.0009339, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9525/0.9525, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.03741/0.03741, allocations: 8.598 MB / 269.6 MB, free: 4.785 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.583e-06/1.583e-06, allocations: 0 / 342.1 MB, free: 8.133 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.787e-05, allocations: 8.781 kB / 342.1 MB, free: 8.125 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.004027/0.004045, allocations: 3.929 MB / 346 MB, free: 4.172 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.00673, allocations: 1.825 MB / 347.9 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005297/0.007259, allocations: 98.94 kB / 347.9 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.007567, allocations: 185.5 kB / 348.1 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004948/0.008062, allocations: 186.1 kB / 348.3 MB, free: 1.879 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.009411, allocations: 0.9904 MB / 349.3 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.01076, allocations: 1.632 MB / 350.9 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004432/0.0112, allocations: 313.1 kB / 351.2 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006995/0.0119, allocations: 0.9391 MB / 352.2 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004014/0.0123, allocations: 434.2 kB / 352.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.01243, allocations: 128 kB / 352.7 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-05/0.01253, allocations: 132 kB / 352.9 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.0127, allocations: 334.6 kB / 353.2 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.01294, allocations: 402.5 kB / 353.6 MB, free: 12.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006881/0.01363, allocations: 0.9449 MB / 354.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.01363, allocations: 0 / 354.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.01363, allocations: 0 / 354.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.01364, allocations: 0 / 354.5 MB, free: 11.62 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.00174/0.01538, allocations: 1.859 MB / 356.4 MB, free: 9.715 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.01542, allocations: 12.03 kB / 356.4 MB, free: 9.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002358/0.01565, allocations: 279.8 kB / 356.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009979/0.01665, allocations: 1.036 MB / 357.7 MB, free: 8.348 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.01679, allocations: 312.7 kB / 358 MB, free: 7.992 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.01692, allocations: 140.2 kB / 358.1 MB, free: 7.855 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009676/0.01788, allocations: 1.459 MB / 359.6 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.01791, allocations: 8.109 kB / 359.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.298e-05/0.01797, allocations: 52.38 kB / 359.7 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.01799, allocations: 32.12 kB / 359.7 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004675/0.01846, allocations: 453.2 kB / 360.1 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003367/0.02183, allocations: 6.151 MB / 366.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006752/0.0225, allocations: 0.5589 MB / 366.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.02272, allocations: 229.5 kB / 367.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.936e-05/0.02277, allocations: 24.98 kB / 367.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.02281, allocations: 54.39 kB / 367.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 2.535e-06/0.02281, allocations: 0 / 367.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.0008235/0.02364, allocations: 0.7449 MB / 367.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.02377, allocations: 376.8 kB / 368.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006428/0.02441, allocations: 0.9984 MB / 369.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/0.02446, allocations: 45.7 kB / 369.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/0.02483, allocations: 0.719 MB / 370 MB, free: 11.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.02504, allocations: 408.5 kB / 370.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/0.02529, allocations: 313 kB / 370.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.02539, allocations: 476.8 kB / 371.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.0256, allocations: 163.8 kB / 371.3 MB, free: 9.996 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005857/0.02619, allocations: 1.162 MB / 372.5 MB, free: 8.465 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007849/0.02697, allocations: 1.03 MB / 373.5 MB, free: 7.184 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.02698, allocations: 4 kB / 373.5 MB, free: 7.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00101/0.02799, allocations: 1.059 MB / 374.6 MB, free: 6.113 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.02801, allocations: 12.03 kB / 374.6 MB, free: 6.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.02802, allocations: 12 kB / 374.6 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.02804, allocations: 24 kB / 374.7 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007518/0.02879, allocations: 355.4 kB / 375 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.02881, allocations: 27.92 kB / 375 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/0.02914, allocations: 146.9 kB / 375.2 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/0.02919, allocations: 56 kB / 375.2 MB, free: 5.492 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_FO.ATreq_in,R_FO.satHIGH_in,R_FO.satLOW_in,R_FOD.ATreq_in,R_FOD.satHIGH_in,R_FOD.satLOW_in,R_i.ATreq_in,R_i.satHIGH_in,R_i.satLOW_in,R_iD.ATreq_in,R_iD.satHIGH_in,R_iD.satLOW_in,R_OS.ATreq_in,R_OS.satHIGH_in,R_OS.satLOW_in,R_US.ATreq_in,R_US.satHIGH_in,R_US.satLOW_in,R_Osc.ATreq_in,R_Osc.satHIGH_in,R_Osc.satLOW_in,R_FO.TS_in,R_FOD.TS_in,R_i.TS_in,R_iD.TS_in,R_OS.TS_in,R_US.TS_in,R_Osc.TS_in,R_FS.TS_in,R_FS.ATreq_in,R_FS.satHIGH_in,R_FS.satLOW_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.0002339/0.02943, allocations: 266 kB / 375.5 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.02957, allocations: 167.1 kB / 375.6 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000825/0.03039, allocations: 0.7845 MB / 376.4 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.0304, allocations: 11.98 kB / 376.4 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.0304, allocations: 4 kB / 376.4 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.03041, allocations: 7.984 kB / 376.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006027/0.03101, allocations: 0.6403 MB / 377.1 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.03102, allocations: 0 / 377.1 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008735/0.03189, allocations: 311.6 kB / 377.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.0319, allocations: 4 kB / 377.4 MB, free: 3.262 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.063e-05/0.03195, allocations: 31.98 kB / 377.4 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.03195, allocations: 8 kB / 377.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.03195, allocations: 0 / 377.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000981/0.03293, allocations: 1.081 MB / 378.5 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.03305, allocations: 150.7 kB / 378.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-05/0.03314, allocations: 24 kB / 378.7 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.03336, allocations: 27.98 kB / 378.7 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.517e-05/0.03346, allocations: 84.84 kB / 378.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/0.03349, allocations: 23.98 kB / 378.8 MB, free: 1.824 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003437/0.03383, allocations: 0.5421 MB / 379.4 MB, free: 1.273 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03383, allocations: 4 kB / 379.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004822/0.03432, allocations: 259.4 kB / 379.6 MB, free: 1.016 MB / 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.0001284/0.03445, allocations: 143 kB / 379.8 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006466/0.03509, allocations: 0.6572 MB / 380.4 MB, free: 212 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.0351, allocations: 4.5 kB / 380.4 MB, free: 208 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.03539, allocations: 319.1 kB / 380.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.03583, allocations: 166.1 kB / 380.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.03835, allocations: 2.58 MB / 383.5 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.03851, allocations: 256.9 kB / 383.7 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003855/0.03889, allocations: 186.1 kB / 383.9 MB, free: 12.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003883/0.03928, allocations: 318.1 kB / 384.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.03928, allocations: 0 / 384.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of Templates: time 0.01496/0.05424, allocations: 9.939 MB / 394.2 MB, free: 2.488 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.082128764130175]