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.0009225/0.0009225, allocations: 77.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001306/0.002228, allocations: 451.9 kB / 10.44 MB, free: 252 kB / 10.45 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.001038/0.001038, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.002189, allocations: 475.5 kB / 11.81 MB, free: 2.359 MB / 13.93 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.002/1.002, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08974/1.092, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.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.08502/0.08502, allocations: 5.9 MB / 250.1 MB, free: 9.246 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006065/0.09109, allocations: 2.109 MB / 252.2 MB, free: 7.133 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.242e-06/1.242e-06, allocations: 0 / 253.5 MB, free: 5.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.809e-05, allocations: 2.312 kB / 253.5 MB, free: 5.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.004425/0.004443, allocations: 4.08 MB / 257.5 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003423/0.007865, allocations: 2.215 MB / 259.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006709/0.008536, allocations: 106.8 kB / 259.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.008849, allocations: 193.5 kB / 260 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004498/0.009299, allocations: 186 kB / 260.2 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.01119, allocations: 1.217 MB / 261.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001492/0.01268, allocations: 1.823 MB / 263.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003804/0.01306, allocations: 321.4 kB / 263.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.01414, allocations: 1.232 MB / 264.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004786/0.01462, allocations: 0.5176 MB / 265.3 MB, free: 9.855 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.01478, allocations: 144 kB / 265.5 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.01489, allocations: 144 kB / 265.6 MB, free: 9.574 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.01506, allocations: 262.9 kB / 265.9 MB, free: 9.316 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.0153, allocations: 327 kB / 266.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007385/0.01604, allocations: 0.9178 MB / 267.1 MB, free: 8.074 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.686e-05/0.01605, allocations: 0 / 267.1 MB, free: 8.074 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.01605, allocations: 0 / 267.1 MB, free: 8.074 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.96e-05/0.01607, allocations: 0 / 267.1 MB, free: 8.074 MB / 266.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.002127/0.0182, allocations: 2.151 MB / 269.3 MB, free: 5.883 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.01823, allocations: 8.031 kB / 269.3 MB, free: 5.875 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000221/0.01845, allocations: 228.8 kB / 269.5 MB, free: 5.652 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.01953, allocations: 0.9315 MB / 270.4 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.01967, allocations: 312.9 kB / 270.7 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.01981, allocations: 152.3 kB / 270.9 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.02082, allocations: 1.434 MB / 272.3 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.02085, allocations: 4.188 kB / 272.3 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.659e-05/0.02091, allocations: 52.38 kB / 272.4 MB, free: 2.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.02094, allocations: 40.12 kB / 272.4 MB, free: 2.391 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000509/0.02145, allocations: 433.3 kB / 272.8 MB, free: 1.969 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1138/0.1353, allocations: 4.505 MB / 277.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.1363, allocations: 0.6576 MB / 278 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/0.1368, allocations: 414.8 kB / 278.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.47e-05/0.1369, allocations: 33.61 kB / 278.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.1369, allocations: 49.52 kB / 278.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=120): time 4.709e-06/0.1369, allocations: 1.719 kB / 278.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.0009804/0.1379, allocations: 0.6125 MB / 279.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.138, allocations: 65.5 kB / 279.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008518/0.1388, allocations: 0.9649 MB / 280.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/0.1389, allocations: 54.02 kB / 280.2 MB, free: 14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.1391, allocations: 0.519 MB / 280.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/0.1393, allocations: 479.3 kB / 281.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003147/0.1397, allocations: 340.7 kB / 281.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.26e-05/0.1397, allocations: 302.9 kB / 281.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.1399, allocations: 171.7 kB / 282 MB, free: 13.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.1405, allocations: 1.002 MB / 283 MB, free: 12.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009305/0.1414, allocations: 0.9762 MB / 283.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/0.1414, allocations: 4.094 kB / 283.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.001213/0.1426, allocations: 0.9161 MB / 284.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.1426, allocations: 10.56 kB / 284.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.1427, allocations: 13.28 kB / 284.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.367e-05/0.1427, allocations: 26.03 kB / 284.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.144, allocations: 0.5464 MB / 285.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.558e-05/0.144, allocations: 31.78 kB / 285.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004376/0.1444, allocations: 163.8 kB / 285.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.274e-05/0.1445, allocations: 55.62 kB / 285.7 MB, free: 11.62 MB / 266.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 (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.0003163/0.1448, allocations: 234.4 kB / 285.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.145, allocations: 120.2 kB / 286 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.1462, allocations: 0.7475 MB / 286.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.1462, allocations: 14.12 kB / 286.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1462, allocations: 2.328 kB / 286.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.1463, allocations: 5.672 kB / 286.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.1484, allocations: 1.65 MB / 288.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.1484, allocations: 5.531 kB / 288.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.1496, allocations: 489.2 kB / 288.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.1498, allocations: 158.4 kB / 289.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.1498, allocations: 6.344 kB / 289.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.568e-05/0.1498, allocations: 37.02 kB / 289.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.1498, allocations: 7.031 kB / 289.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1498, allocations: 0 / 289.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009083/0.1508, allocations: 0.996 MB / 290.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.514e-05/0.1509, allocations: 34.25 kB / 290.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.1511, allocations: 33.58 kB / 290.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.1512, allocations: 93.66 kB / 290.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.1512, allocations: 28.06 kB / 290.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002913/0.1515, allocations: 453.1 kB / 290.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1515, allocations: 0 / 290.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006348/0.1521, allocations: 279.3 kB / 291 MB, free: 10.38 MB / 266.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.0001387/0.1523, allocations: 134.1 kB / 291.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008538/0.1531, allocations: 0.724 MB / 291.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.773e-05/0.1532, allocations: 30.84 kB / 291.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003951/0.1536, allocations: 436.1 kB / 292.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006947/0.1543, allocations: 1.092 MB / 293.4 MB, free: 8.941 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.1568, allocations: 2.707 MB / 296.2 MB, free: 6.367 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.157, allocations: 274 kB / 296.4 MB, free: 6.109 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004563/0.1574, allocations: 214.2 kB / 296.6 MB, free: 5.902 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000448/0.1579, allocations: 315.3 kB / 296.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of SimCode: time 1.743e-06/0.1579, allocations: 0 / 296.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of Templates: time 0.01817/0.176, allocations: 13.05 MB / 310 MB, free: 8.785 MB / 282.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.705689709633589]