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.001821/0.001821, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 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.002015/0.002015, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.654/1.654, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 178] 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.1135/0.1135, allocations: 5.875 MB / 265.1 MB, free: 7.766 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.583e-06/1.583e-06, allocations: 0 / 391.6 MB, free: 5.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.094e-05, allocations: 2.281 kB / 391.6 MB, free: 5.105 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.006053/0.006084, allocations: 3.947 MB / 395.6 MB, free: 1.133 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004365/0.01045, allocations: 2.118 MB / 397.7 MB, free: 15.01 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008676/0.01132, allocations: 110.8 kB / 397.8 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003905/0.01171, allocations: 189.5 kB / 398 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005695/0.01228, allocations: 189.9 kB / 398.2 MB, free: 14.53 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002912/0.01519, allocations: 1.205 MB / 399.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002451/0.01764, allocations: 1.889 MB / 401.3 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005849/0.01822, allocations: 309.4 kB / 401.6 MB, free: 11.1 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.01978, allocations: 1.083 MB / 402.6 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000759/0.02054, allocations: 0.502 MB / 403.1 MB, free: 9.508 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.02075, allocations: 144 kB / 403.3 MB, free: 9.367 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.02094, allocations: 140 kB / 403.4 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003584/0.0213, allocations: 366.5 kB / 403.8 MB, free: 8.871 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004365/0.02174, allocations: 442.5 kB / 404.2 MB, free: 8.438 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.02368, allocations: 1.514 MB / 405.7 MB, free: 6.918 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.02369, allocations: 3.984 kB / 405.7 MB, free: 6.914 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.02369, allocations: 0 / 405.7 MB, free: 6.914 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.02371, allocations: 0 / 405.7 MB, free: 6.914 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.003703/0.02742, allocations: 1.864 MB / 407.6 MB, free: 5.004 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.02745, allocations: 12.03 kB / 407.6 MB, free: 4.992 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002967/0.02775, allocations: 191.8 kB / 407.8 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.02952, allocations: 1.002 MB / 408.8 MB, free: 3.754 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002679/0.02979, allocations: 320.8 kB / 409.1 MB, free: 3.391 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.03002, allocations: 156.2 kB / 409.3 MB, free: 3.238 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/0.03254, allocations: 1.7 MB / 411 MB, free: 1.297 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.909e-05/0.03258, allocations: 12.12 kB / 411 MB, free: 1.285 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.03269, allocations: 52.38 kB / 411 MB, free: 1.234 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/0.03273, allocations: 40.06 kB / 411.1 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/0.03442, allocations: 0.8781 MB / 411.9 MB, free: 328 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1657/0.2002, allocations: 5.154 MB / 417.1 MB, free: 29.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00232/0.2025, allocations: 0.9789 MB / 418.1 MB, free: 29.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.2037, allocations: 0.6153 MB / 418.7 MB, free: 28.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.2038, allocations: 23.08 kB / 418.7 MB, free: 28.94 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.2039, allocations: 48.03 kB / 418.8 MB, free: 28.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=120): time 3.817e-06/0.2039, allocations: 0 / 418.8 MB, free: 28.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=120): time 0.002453/0.2063, allocations: 1.273 MB / 420 MB, free: 28.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.958e-05/0.2064, allocations: 379.1 kB / 420.4 MB, free: 27.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.2079, allocations: 1.064 MB / 421.5 MB, free: 27.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.208, allocations: 52.58 kB / 421.5 MB, free: 27.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004228/0.2084, allocations: 0.685 MB / 422.2 MB, free: 26.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/0.2087, allocations: 468.1 kB / 422.7 MB, free: 26.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004764/0.2092, allocations: 333.5 kB / 423 MB, free: 26.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.027e-05/0.2092, allocations: 310.2 kB / 423.3 MB, free: 26.17 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008054/0.21, allocations: 446.1 kB / 423.7 MB, free: 26.01 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.2111, allocations: 1.26 MB / 425 MB, free: 24.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.2129, allocations: 1.371 MB / 426.3 MB, free: 23.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.206e-05/0.2129, allocations: 7.875 kB / 426.4 MB, free: 23.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.002765/0.2157, allocations: 1.598 MB / 428 MB, free: 23.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.2157, allocations: 11.94 kB / 428 MB, free: 23.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-05/0.2158, allocations: 12.5 kB / 428 MB, free: 23.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.163e-05/0.2158, allocations: 22.03 kB / 428 MB, free: 23.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.2176, allocations: 412 kB / 428.4 MB, free: 23.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.537e-05/0.2177, allocations: 32 kB / 428.4 MB, free: 23.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009732/0.2186, allocations: 176.5 kB / 428.6 MB, free: 23.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.2188, allocations: 70.39 kB / 428.7 MB, free: 23.03 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.0005289/0.2193, allocations: 317.6 kB / 429 MB, free: 22.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/0.2196, allocations: 146 kB / 429.1 MB, free: 22.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.2217, allocations: 1.205 MB / 430.3 MB, free: 22.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.2217, allocations: 13.75 kB / 430.3 MB, free: 22.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.2217, allocations: 3.828 kB / 430.3 MB, free: 22.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/0.2218, allocations: 11.73 kB / 430.4 MB, free: 22.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004501/0.2263, allocations: 2.483 MB / 432.8 MB, free: 20.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.2263, allocations: 2.156 kB / 432.8 MB, free: 20.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002025/0.2283, allocations: 349.4 kB / 433.2 MB, free: 20.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.233e-05/0.2283, allocations: 6.594 kB / 433.2 MB, free: 20.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/0.2284, allocations: 41.83 kB / 433.2 MB, free: 20.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.397e-05/0.2284, allocations: 6.438 kB / 433.2 MB, free: 20.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2284, allocations: 1.438 kB / 433.2 MB, free: 20.87 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.2309, allocations: 1.705 MB / 434.9 MB, free: 20.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/0.2311, allocations: 156.3 kB / 435.1 MB, free: 19.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.2313, allocations: 35.28 kB / 435.1 MB, free: 19.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/0.2319, allocations: 38.55 kB / 435.2 MB, free: 19.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.2321, allocations: 99.92 kB / 435.3 MB, free: 19.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-05/0.2322, allocations: 40.72 kB / 435.3 MB, free: 19.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008106/0.233, allocations: 0.6395 MB / 435.9 MB, free: 19.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.233, allocations: 0 / 435.9 MB, free: 19.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009447/0.2339, allocations: 284.7 kB / 436.2 MB, free: 19.53 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.0001835/0.2341, allocations: 146.3 kB / 436.4 MB, free: 19.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.2359, allocations: 1.085 MB / 437.5 MB, free: 18.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.236, allocations: 0.8125 kB / 437.5 MB, free: 18.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006557/0.2366, allocations: 0.5017 MB / 438 MB, free: 18.26 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007165/0.2373, allocations: 171.5 kB / 438.1 MB, free: 18.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/0.2419, allocations: 2.855 MB / 441 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/0.2425, allocations: 0.6292 MB / 441.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009366/0.2434, allocations: 210.7 kB / 441.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004869/0.2439, allocations: 124.5 kB / 441.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2439, allocations: 0 / 441.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of Templates: time 0.02768/0.2716, allocations: 11.32 MB / 453.3 MB, free: 3.145 MB / 330.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: 5.855672691017389]