Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_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.0009025/0.0009025, allocations: 96.52 kB / 19.94 MB, free: 4.598 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.0008995/0.0008995, allocations: 165.9 kB / 23.21 MB, free: 1.332 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.9464/0.9464, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.02787/0.02787, allocations: 5.874 MB / 265.8 MB, free: 7.762 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl") translateModel(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 390.8 MB, free: 6.672 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.822e-05, allocations: 2.281 kB / 390.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.003317/0.003336, allocations: 3.944 MB / 394.8 MB, free: 2.695 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.005662, allocations: 2.114 MB / 396.9 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000421/0.006083, allocations: 106.8 kB / 397 MB, free: 484 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.006322, allocations: 189.5 kB / 397.2 MB, free: 292 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.006684, allocations: 193.9 kB / 397.4 MB, free: 96 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.007996, allocations: 1.213 MB / 398.6 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.009083, allocations: 1.889 MB / 400.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003631/0.009446, allocations: 297.4 kB / 400.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009114/0.01036, allocations: 1.087 MB / 401.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003953/0.01075, allocations: 0.5059 MB / 402.3 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.01088, allocations: 140 kB / 402.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.01098, allocations: 144 kB / 402.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.01117, allocations: 370.5 kB / 403 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002757/0.01144, allocations: 438.5 kB / 403.4 MB, free: 9.996 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.01247, allocations: 1.518 MB / 404.9 MB, free: 8.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01247, allocations: 3.938 kB / 404.9 MB, free: 8.469 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.01248, allocations: 0 / 404.9 MB, free: 8.469 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.01249, allocations: 0 / 404.9 MB, free: 8.469 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.001915/0.01441, allocations: 1.86 MB / 406.8 MB, free: 6.562 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.01445, allocations: 12.03 kB / 406.8 MB, free: 6.551 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.01463, allocations: 191.8 kB / 407 MB, free: 6.363 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.01567, allocations: 1.009 MB / 408 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002836/0.01596, allocations: 316.9 kB / 408.3 MB, free: 4.945 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.01609, allocations: 148.3 kB / 408.4 MB, free: 4.801 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.01742, allocations: 1.704 MB / 410.2 MB, free: 2.855 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.01744, allocations: 8.188 kB / 410.2 MB, free: 2.848 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.39e-05/0.01751, allocations: 48.38 kB / 410.2 MB, free: 2.801 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.01753, allocations: 40.06 kB / 410.2 MB, free: 2.762 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009763/0.0185, allocations: 0.8858 MB / 411.1 MB, free: 1.879 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1924/0.2109, allocations: 5.147 MB / 416.3 MB, free: 29.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.2123, allocations: 0.9752 MB / 417.3 MB, free: 28.94 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007556/0.2131, allocations: 0.6189 MB / 417.9 MB, free: 28.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.687e-05/0.2132, allocations: 20.06 kB / 417.9 MB, free: 28.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.2132, allocations: 45.31 kB / 417.9 MB, free: 28.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=120): time 3.517e-06/0.2132, allocations: 1 kB / 417.9 MB, free: 28.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=120): time 0.001582/0.2148, allocations: 1.272 MB / 419.2 MB, free: 28.24 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/0.2149, allocations: 383.4 kB / 419.6 MB, free: 27.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.2159, allocations: 1.066 MB / 420.7 MB, free: 27.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/0.2159, allocations: 52.98 kB / 420.7 MB, free: 27.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.2163, allocations: 0.6846 MB / 421.4 MB, free: 26.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.2165, allocations: 468 kB / 421.8 MB, free: 26.53 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003184/0.2168, allocations: 333.7 kB / 422.2 MB, free: 26.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.344e-05/0.2169, allocations: 302.4 kB / 422.5 MB, free: 26.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005526/0.2174, allocations: 450.7 kB / 422.9 MB, free: 25.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007391/0.2182, allocations: 1.262 MB / 424.2 MB, free: 24.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.2195, allocations: 1.376 MB / 425.5 MB, free: 23.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.2195, allocations: 4.125 kB / 425.5 MB, free: 23.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.001953/0.2214, allocations: 1.598 MB / 427.1 MB, free: 23.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.2215, allocations: 14.45 kB / 427.2 MB, free: 23.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.2215, allocations: 12.75 kB / 427.2 MB, free: 23.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.98e-05/0.2215, allocations: 22.41 kB / 427.2 MB, free: 23.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.2226, allocations: 410.1 kB / 427.6 MB, free: 23.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.15e-05/0.2226, allocations: 36.42 kB / 427.6 MB, free: 23.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/0.2232, allocations: 176.5 kB / 427.8 MB, free: 22.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.689e-05/0.2232, allocations: 73.42 kB / 427.9 MB, free: 22.96 MB / 330.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 (224): * Single equations (assignments): 224 * 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.0004667/0.2237, allocations: 309.8 kB / 428.2 MB, free: 22.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.2238, allocations: 145.8 kB / 428.3 MB, free: 22.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.2253, allocations: 1.211 MB / 429.5 MB, free: 22.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.2253, allocations: 17.98 kB / 429.5 MB, free: 22.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2253, allocations: 9.062 kB / 429.6 MB, free: 22.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.2253, allocations: 6.094 kB / 429.6 MB, free: 22.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002979/0.2283, allocations: 2.476 MB / 432 MB, free: 20.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.2283, allocations: 1.672 kB / 432 MB, free: 20.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.2294, allocations: 348.1 kB / 432.4 MB, free: 20.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.577e-05/0.2294, allocations: 7.188 kB / 432.4 MB, free: 20.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.259e-05/0.2295, allocations: 40.62 kB / 432.4 MB, free: 20.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.2295, allocations: 6.375 kB / 432.4 MB, free: 20.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2295, allocations: 7.125 kB / 432.4 MB, free: 20.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.2312, allocations: 1.697 MB / 434.1 MB, free: 20.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.2313, allocations: 154 kB / 434.3 MB, free: 19.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.233e-05/0.2314, allocations: 32.66 kB / 434.3 MB, free: 19.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.2317, allocations: 40.36 kB / 434.4 MB, free: 19.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.2318, allocations: 94.91 kB / 434.5 MB, free: 19.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.2318, allocations: 37.92 kB / 434.5 MB, free: 19.87 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006334/0.2324, allocations: 0.6429 MB / 435.1 MB, free: 19.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2324, allocations: 0 / 435.1 MB, free: 19.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007194/0.2332, allocations: 285.1 kB / 435.4 MB, free: 19.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (136): * Single equations (assignments): 136 * 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.0001334/0.2333, allocations: 149.5 kB / 435.6 MB, free: 19.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.2344, allocations: 1.092 MB / 436.6 MB, free: 19.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2344, allocations: 6.188 kB / 436.7 MB, free: 19.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004066/0.2348, allocations: 491.1 kB / 437.1 MB, free: 18.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/0.2353, allocations: 169.1 kB / 437.3 MB, free: 18.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.2379, allocations: 2.896 MB / 440.2 MB, free: 16.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.2382, allocations: 0.6321 MB / 440.8 MB, free: 15.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.2385, allocations: 129.2 kB / 441 MB, free: 15.71 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.2385, allocations: 0 / 441 MB, free: 15.71 MB / 330.7 MB Notification: Performance of Templates: time 0.01286/0.2513, allocations: 16.67 MB / 457.6 MB, free: 15.12 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl > IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.929721691645682]