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.001341/0.001341, allocations: 88.22 kB / 19.64 MB, free: 276 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.001426/0.001426, allocations: 173 kB / 23.02 MB, free: 1.543 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.042/1.042, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.03726/0.03726, allocations: 8.611 MB / 268.6 MB, free: 4.898 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 2.184e-06/2.184e-06, allocations: 0 / 340.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.829e-05, allocations: 2.312 kB / 340.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.003637/0.003665, allocations: 4.053 MB / 344.9 MB, free: 4.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.006276, allocations: 1.817 MB / 346.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006388/0.006915, allocations: 106.9 kB / 346.8 MB, free: 2.395 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.0072, allocations: 181.6 kB / 347 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004641/0.007664, allocations: 190 kB / 347.2 MB, free: 2.027 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.009012, allocations: 0.9944 MB / 348.2 MB, free: 1.031 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00114/0.01015, allocations: 1.635 MB / 349.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004376/0.01059, allocations: 301.2 kB / 350.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009366/0.01153, allocations: 0.9468 MB / 351.1 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004425/0.01197, allocations: 434.2 kB / 351.5 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.01211, allocations: 128 kB / 351.6 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.01221, allocations: 128 kB / 351.7 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.01238, allocations: 338.6 kB / 352.1 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.0126, allocations: 398.6 kB / 352.5 MB, free: 12.72 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008432/0.01344, allocations: 0.9449 MB / 353.4 MB, free: 11.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.01345, allocations: 0 / 353.4 MB, free: 11.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01345, allocations: 4 kB / 353.4 MB, free: 11.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.009e-05/0.01347, allocations: 0 / 353.4 MB, free: 11.77 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.00193/0.0154, allocations: 1.847 MB / 355.3 MB, free: 9.871 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.01544, allocations: 8.031 kB / 355.3 MB, free: 9.863 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.0157, allocations: 279.8 kB / 355.5 MB, free: 9.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.01677, allocations: 1.047 MB / 356.6 MB, free: 8.496 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.01692, allocations: 308.7 kB / 356.9 MB, free: 8.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.01705, allocations: 140.3 kB / 357 MB, free: 8.008 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.01832, allocations: 1.522 MB / 358.6 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.01835, allocations: 8.125 kB / 358.6 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.13e-05/0.01841, allocations: 48.38 kB / 358.6 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/0.01843, allocations: 32.12 kB / 358.6 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007179/0.01915, allocations: 0.5343 MB / 359.2 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00392/0.02307, allocations: 6.298 MB / 365.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008966/0.02397, allocations: 0.6032 MB / 366.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.02428, allocations: 265.5 kB / 366.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.429e-05/0.02433, allocations: 24.98 kB / 366.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.02436, allocations: 62.33 kB / 366.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 2.775e-06/0.02437, allocations: 0 / 366.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.001062/0.02543, allocations: 0.8348 MB / 367.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.02555, allocations: 372.8 kB / 367.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007403/0.02629, allocations: 1.011 MB / 368.6 MB, free: 11.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.02634, allocations: 53.7 kB / 368.7 MB, free: 11.72 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/0.02669, allocations: 0.7076 MB / 369.4 MB, free: 11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.02689, allocations: 404.6 kB / 369.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.02715, allocations: 309.2 kB / 370.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.02725, allocations: 480.7 kB / 370.6 MB, free: 9.824 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.02756, allocations: 207.8 kB / 370.8 MB, free: 9.621 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000714/0.02827, allocations: 1.205 MB / 372 MB, free: 8.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.02931, allocations: 1.1 MB / 373.1 MB, free: 6.695 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.02931, allocations: 8 kB / 373.1 MB, free: 6.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001266/0.03058, allocations: 1.16 MB / 374.2 MB, free: 5.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.0306, allocations: 12 kB / 374.2 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.03062, allocations: 12 kB / 374.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.03065, allocations: 20 kB / 374.3 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008356/0.03148, allocations: 360 kB / 374.6 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-05/0.03152, allocations: 27.88 kB / 374.7 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.03188, allocations: 146.9 kB / 374.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.03193, allocations: 64 kB / 374.9 MB, free: 4.891 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.0003049/0.03224, allocations: 274 kB / 375.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.03239, allocations: 171.1 kB / 375.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.03342, allocations: 0.8509 MB / 376.1 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.03343, allocations: 12 kB / 376.2 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.03343, allocations: 0 / 376.2 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.03344, allocations: 7.969 kB / 376.2 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007257/0.03417, allocations: 0.7907 MB / 377 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.03418, allocations: 0 / 377 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009198/0.0351, allocations: 311.6 kB / 377.3 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.0351, allocations: 4 kB / 377.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.598e-05/0.03517, allocations: 31.98 kB / 377.3 MB, free: 2.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.03517, allocations: 4 kB / 377.3 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.03518, allocations: 0 / 377.3 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.03641, allocations: 1.187 MB / 378.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.03652, allocations: 142.8 kB / 378.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.872e-05/0.03661, allocations: 32 kB / 378.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.03684, allocations: 27.98 kB / 378.7 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.03695, allocations: 76.84 kB / 378.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/0.03699, allocations: 32 kB / 378.8 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000448/0.03744, allocations: 0.5815 MB / 379.4 MB, free: 308 kB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.03744, allocations: 0 / 379.4 MB, free: 308 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005381/0.03798, allocations: 255.5 kB / 379.6 MB, free: 52 kB / 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.0001744/0.03815, allocations: 147.1 kB / 379.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009136/0.03906, allocations: 0.7425 MB / 380.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.03907, allocations: 0 / 380.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003542/0.03942, allocations: 343.2 kB / 380.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.0399, allocations: 174.7 kB / 381 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.04288, allocations: 2.608 MB / 383.6 MB, free: 12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.04307, allocations: 252.9 kB / 383.9 MB, free: 11.72 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004255/0.04349, allocations: 194.1 kB / 384.1 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.04369, allocations: 116.4 kB / 384.2 MB, free: 11.42 MB / 314.7 MB Notification: Performance of SimCode: time 1.382e-06/0.04369, allocations: 3.938 kB / 384.2 MB, free: 11.41 MB / 314.7 MB Notification: Performance of Templates: time 0.0145/0.05819, allocations: 9.348 MB / 393.5 MB, free: 2.152 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.2265809820964932]