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.001795/0.001795, allocations: 81.5 kB / 19.44 MB, free: 344 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.002057/0.002057, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.591/1.591, 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.1012/0.1012, allocations: 8.615 MB / 268.2 MB, free: 4.945 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.563e-06/1.563e-06, allocations: 0 / 340.1 MB, free: 8.754 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.506e-05, allocations: 6.25 kB / 340.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.003808/0.003833, allocations: 3.998 MB / 344.1 MB, free: 4.727 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.006228, allocations: 1.821 MB / 346 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004327/0.006661, allocations: 94.94 kB / 346 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.006941, allocations: 189.5 kB / 346.2 MB, free: 2.621 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004237/0.007365, allocations: 189.9 kB / 346.4 MB, free: 2.434 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.008567, allocations: 0.9866 MB / 347.4 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.009627, allocations: 1.635 MB / 349 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005668/0.01019, allocations: 305.1 kB / 349.3 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.0115, allocations: 0.943 MB / 350.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006357/0.01213, allocations: 434.2 kB / 350.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.01235, allocations: 128 kB / 350.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.01254, allocations: 128 kB / 351 MB, free: 13.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003495/0.01289, allocations: 346.5 kB / 351.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004346/0.01333, allocations: 394.6 kB / 351.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.0154, allocations: 1.397 MB / 353.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.0154, allocations: 0 / 353.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.0154, allocations: 0 / 353.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.759e-05/0.01544, allocations: 0 / 353.1 MB, free: 11.73 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.003701/0.01914, allocations: 1.933 MB / 355 MB, free: 9.746 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.01919, allocations: 12.03 kB / 355 MB, free: 9.734 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004749/0.01967, allocations: 283.8 kB / 355.3 MB, free: 9.457 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.02167, allocations: 1.055 MB / 356.3 MB, free: 8.355 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000281/0.02196, allocations: 308.6 kB / 356.7 MB, free: 8.004 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/0.02219, allocations: 144.3 kB / 356.8 MB, free: 7.863 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0028/0.02499, allocations: 1.74 MB / 358.5 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.329e-05/0.02503, allocations: 8.109 kB / 358.5 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.02514, allocations: 52.38 kB / 358.6 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.031e-05/0.02519, allocations: 32.12 kB / 358.6 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.02678, allocations: 0.7609 MB / 359.4 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008941/0.03572, allocations: 6.701 MB / 366.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.03746, allocations: 0.8018 MB / 366.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009807/0.03844, allocations: 381.5 kB / 367.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.773e-05/0.03852, allocations: 24.98 kB / 367.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.712e-05/0.03859, allocations: 46.39 kB / 367.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 6.152e-06/0.0386, allocations: 8 kB / 367.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.002226/0.04082, allocations: 1.104 MB / 368.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002698/0.04109, allocations: 376.8 kB / 368.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/0.04287, allocations: 1.309 MB / 370.1 MB, free: 9.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.04297, allocations: 49.7 kB / 370.2 MB, free: 9.855 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007463/0.04372, allocations: 0.7584 MB / 370.9 MB, free: 9.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004254/0.04414, allocations: 432.6 kB / 371.3 MB, free: 8.664 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005231/0.04466, allocations: 365.2 kB / 371.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000262/0.04493, allocations: 480.7 kB / 372.2 MB, free: 7.828 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006955/0.04562, allocations: 347.8 kB / 372.5 MB, free: 7.488 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.04727, allocations: 1.388 MB / 373.9 MB, free: 5.727 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002414/0.04969, allocations: 1.417 MB / 375.3 MB, free: 4.055 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.0497, allocations: 7.938 kB / 375.3 MB, free: 4.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002683/0.05238, allocations: 1.438 MB / 376.8 MB, free: 2.602 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.05241, allocations: 12.62 kB / 376.8 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.354e-05/0.05245, allocations: 16 kB / 376.8 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.199e-05/0.05249, allocations: 20 kB / 376.8 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.05405, allocations: 355.4 kB / 377.2 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.405e-05/0.05409, allocations: 28.17 kB / 377.2 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007733/0.05487, allocations: 150.9 kB / 377.3 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.05497, allocations: 63.98 kB / 377.4 MB, free: 1.969 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.0005859/0.05555, allocations: 350 kB / 377.7 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/0.05584, allocations: 171.1 kB / 377.9 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.0579, allocations: 1.046 MB / 379 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.05792, allocations: 12 kB / 379 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.05792, allocations: 0 / 379 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.05794, allocations: 7.969 kB / 379 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.05945, allocations: 0.9899 MB / 380 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.05946, allocations: 0 / 380 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/0.06126, allocations: 307.6 kB / 380.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.06127, allocations: 11.98 kB / 380.3 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.532e-05/0.06135, allocations: 24 kB / 380.3 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.65e-05/0.06137, allocations: 7.984 kB / 380.3 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.06137, allocations: 0 / 380.3 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.06405, allocations: 1.546 MB / 381.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.0643, allocations: 138.8 kB / 382 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.06445, allocations: 31.98 kB / 382 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004718/0.06492, allocations: 28 kB / 382 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.06509, allocations: 76.84 kB / 382.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.897e-05/0.06516, allocations: 35.98 kB / 382.2 MB, free: 13.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001054/0.06622, allocations: 0.7338 MB / 382.9 MB, free: 12.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06622, allocations: 7.875 kB / 382.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009033/0.06712, allocations: 251.5 kB / 383.1 MB, free: 12.15 MB / 314.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.0002266/0.06735, allocations: 147 kB / 383.3 MB, free: 11.99 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00184/0.06919, allocations: 1.013 MB / 384.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.06919, allocations: 0 / 384.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007535/0.06994, allocations: 463.1 kB / 384.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007416/0.07068, allocations: 160.1 kB / 384.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00504/0.07572, allocations: 2.752 MB / 387.7 MB, free: 7.574 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008015/0.07653, allocations: 0.6074 MB / 388.3 MB, free: 6.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007562/0.07728, allocations: 194.1 kB / 388.5 MB, free: 6.738 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.07757, allocations: 108.5 kB / 388.6 MB, free: 6.633 MB / 314.7 MB Notification: Performance of SimCode: time 1.764e-06/0.07758, allocations: 0 / 388.6 MB, free: 6.633 MB / 314.7 MB Notification: Performance of Templates: time 0.02117/0.09874, allocations: 9.041 MB / 397.6 MB, free: 13.68 MB / 330.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: 5.1241203100653365]