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.001245/0.001245, allocations: 80.3 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001436/0.001436, allocations: 161 kB / 22.45 MB, free: 5.375 MB / 14.72 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.48/1.48, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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.06353/0.06353, allocations: 8.604 MB / 267.8 MB, free: 8.555 MB / 254.1 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.963e-06/1.963e-06, allocations: 0 / 395.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.248e-05, allocations: 2.281 kB / 395.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.005766/0.005798, allocations: 3.865 MB / 399.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003851/0.009649, allocations: 1.821 MB / 401.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006349/0.01028, allocations: 102.9 kB / 401.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003664/0.01065, allocations: 185.6 kB / 401.5 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005518/0.0112, allocations: 193.9 kB / 401.7 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.01318, allocations: 0.9827 MB / 402.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001719/0.0149, allocations: 1.651 MB / 404.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000733/0.01563, allocations: 301.1 kB / 404.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.01695, allocations: 0.9468 MB / 405.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006118/0.01757, allocations: 438.2 kB / 406 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.01775, allocations: 128 kB / 406.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.01792, allocations: 128 kB / 406.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.01821, allocations: 334.6 kB / 406.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003801/0.01859, allocations: 402.5 kB / 407 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.02, allocations: 1.39 MB / 408.4 MB, free: 9.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.02001, allocations: 4 kB / 408.4 MB, free: 9.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.02001, allocations: 0 / 408.4 MB, free: 9.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.02002, allocations: 0 / 408.4 MB, free: 9.777 MB / 334.1 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.003331/0.02335, allocations: 1.735 MB / 410.1 MB, free: 7.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.02339, allocations: 12.03 kB / 410.1 MB, free: 7.984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/0.02366, allocations: 187.8 kB / 410.3 MB, free: 7.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.02539, allocations: 0.9821 MB / 411.3 MB, free: 6.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.02564, allocations: 312.7 kB / 411.6 MB, free: 6.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/0.02585, allocations: 136.3 kB / 411.7 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/0.02807, allocations: 1.592 MB / 413.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/0.02812, allocations: 12.11 kB / 413.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.02822, allocations: 48.38 kB / 413.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.25e-05/0.02825, allocations: 36.12 kB / 413.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.02996, allocations: 0.7726 MB / 414.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00645/0.03641, allocations: 4.856 MB / 419 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.03824, allocations: 0.8038 MB / 419.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007162/0.03896, allocations: 390.7 kB / 420.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.03906, allocations: 16.98 kB / 420.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.03911, allocations: 55.5 kB / 420.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 5.68e-06/0.03912, allocations: 4 kB / 420.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=99): time 0.00201/0.04113, allocations: 1.089 MB / 421.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002303/0.04136, allocations: 376.8 kB / 421.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.04262, allocations: 1.039 MB / 422.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.744e-05/0.04271, allocations: 53.7 kB / 422.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005928/0.0433, allocations: 0.6577 MB / 423.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000369/0.04367, allocations: 400.6 kB / 423.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003932/0.04406, allocations: 299.5 kB / 424.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.04421, allocations: 309.1 kB / 424.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006714/0.04488, allocations: 363.8 kB / 424.9 MB, free: 8.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.04617, allocations: 1.173 MB / 426 MB, free: 7.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.04801, allocations: 1.211 MB / 427.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.04802, allocations: 7.938 kB / 427.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00243/0.05045, allocations: 1.395 MB / 428.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.05048, allocations: 8 kB / 428.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/0.0505, allocations: 19.94 kB / 428.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.141e-05/0.05055, allocations: 24 kB / 428.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/0.05225, allocations: 355.9 kB / 429 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.319e-05/0.05228, allocations: 27.92 kB / 429.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007374/0.05302, allocations: 154.9 kB / 429.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.306e-05/0.05311, allocations: 60 kB / 429.3 MB, free: 3.711 MB / 350.1 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.0005089/0.05362, allocations: 307.3 kB / 429.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.05382, allocations: 139.1 kB / 429.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.05575, allocations: 1.062 MB / 430.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.05577, allocations: 8 kB / 430.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.05577, allocations: 4 kB / 430.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.05579, allocations: 7.969 kB / 430.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.05707, allocations: 0.8325 MB / 431.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.05707, allocations: 3.984 kB / 431.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001909/0.05898, allocations: 307.6 kB / 431.9 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.05899, allocations: 4 kB / 431.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.481e-05/0.05909, allocations: 35.98 kB / 432 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.05909, allocations: 4 kB / 432 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.0591, allocations: 0 / 432 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.06148, allocations: 1.459 MB / 433.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.06168, allocations: 142.8 kB / 433.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.06181, allocations: 32 kB / 433.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005343/0.06235, allocations: 27.98 kB / 433.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.06253, allocations: 84.84 kB / 433.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-05/0.06259, allocations: 27.98 kB / 433.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008695/0.06346, allocations: 0.6323 MB / 434.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.06346, allocations: 0 / 434.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008726/0.06433, allocations: 259.4 kB / 434.6 MB, free: 14.29 MB / 366.1 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.0002233/0.06456, allocations: 155 kB / 434.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001784/0.06634, allocations: 0.9264 MB / 435.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.06634, allocations: 0 / 435.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007172/0.06706, allocations: 433.5 kB / 436.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007557/0.06782, allocations: 157.1 kB / 436.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005069/0.07289, allocations: 2.673 MB / 439 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007117/0.0736, allocations: 0.6074 MB / 439.6 MB, free: 9.273 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007373/0.07433, allocations: 190.1 kB / 439.7 MB, free: 9.086 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/0.0747, allocations: 112.5 kB / 439.9 MB, free: 8.973 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.0747, allocations: 4 kB / 439.9 MB, free: 8.969 MB / 366.1 MB Notification: Performance of Templates: time 0.02131/0.09601, allocations: 8.954 MB / 448.8 MB, free: 116 kB / 366.1 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0138555355370045] Failed to read output from testmodel.py, exit status != 0: 0.3239827863872051 0.337867209 0.315028191 Calling exit ...