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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 249.4 MB, free: 3.176 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.06219/0.06219, allocations: 11.33 MB / 315.8 MB, free: 368 kB / 238.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001919/0.001919, allocations: 67.89 kB / 440.6 MB, free: 6.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3115, allocations: 54.82 MB / 495.4 MB, free: 24.42 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.00571/0.3172, allocations: 4.435 MB / 499.9 MB, free: 21.15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003917/0.3212, allocations: 1.845 MB / 0.49 GB, free: 19.65 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.3226, allocations: 73.5 kB / 0.49 GB, free: 19.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.3231, allocations: 183.4 kB / 0.4902 GB, free: 19.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008872/0.324, allocations: 185 kB / 0.4904 GB, free: 19.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.3261, allocations: 0.9729 MB / 0.4913 GB, free: 18.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001667/0.3278, allocations: 1.626 MB / 0.4929 GB, free: 17.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005331/0.3283, allocations: 318.2 kB / 0.4932 GB, free: 17.17 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007856/0.3291, allocations: 0.6626 MB / 0.4939 GB, free: 16.74 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005126/0.3296, allocations: 0.5984 MB / 0.4945 GB, free: 16.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.3298, allocations: 131 kB / 0.4946 GB, free: 16.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.33, allocations: 128.9 kB / 0.4947 GB, free: 16.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.3302, allocations: 333.3 kB / 0.495 GB, free: 15.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003798/0.3306, allocations: 0.646 MB / 0.4957 GB, free: 15.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.3318, allocations: 1.386 MB / 0.497 GB, free: 14.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3318, allocations: 0 / 0.497 GB, free: 14.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3318, allocations: 0 / 0.497 GB, free: 14.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.225e-05/0.3318, allocations: 0 / 0.497 GB, free: 14.35 MB / 366.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.002966/0.3348, allocations: 1.83 MB / 0.4988 GB, free: 12.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.3348, allocations: 9.062 kB / 0.4988 GB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000304/0.3352, allocations: 186.4 kB / 0.499 GB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.3367, allocations: 1.075 MB / 0.5 GB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.3369, allocations: 313.4 kB / 0.5003 GB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/0.3371, allocations: 136.6 kB / 0.5005 GB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.3388, allocations: 1.292 MB / 0.5017 GB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/0.3388, allocations: 14.36 kB / 0.5017 GB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.51e-05/0.3389, allocations: 53.03 kB / 0.5018 GB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.3389, allocations: 29.53 kB / 0.5018 GB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.3401, allocations: 0.7783 MB / 0.5026 GB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004966/0.3451, allocations: 5.298 MB / 0.5077 GB, free: 5.668 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.3465, allocations: 0.8031 MB / 0.5085 GB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005606/0.3471, allocations: 391.5 kB / 0.5089 GB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.248e-05/0.3472, allocations: 21.52 kB / 0.5089 GB, free: 5.031 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.3472, allocations: 49.06 kB / 0.509 GB, free: 4.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 2.845e-06/0.3472, allocations: 3.938 kB / 0.509 GB, free: 4.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=99): time 0.001901/0.3491, allocations: 1.1 MB / 0.5101 GB, free: 4.441 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.3492, allocations: 375 kB / 0.5104 GB, free: 4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.3505, allocations: 1.021 MB / 0.5114 GB, free: 3.359 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.396e-05/0.3505, allocations: 49.7 kB / 0.5115 GB, free: 3.305 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.3508, allocations: 0.6615 MB / 0.5121 GB, free: 2.637 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.351, allocations: 404.6 kB / 0.5125 GB, free: 2.238 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003156/0.3514, allocations: 299.5 kB / 0.5128 GB, free: 1.941 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.021e-05/0.3514, allocations: 309.1 kB / 0.5131 GB, free: 1.637 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/0.3519, allocations: 367.8 kB / 0.5134 GB, free: 1.277 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006641/0.3526, allocations: 0.8599 MB / 0.5143 GB, free: 200 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.3542, allocations: 1.222 MB / 0.5154 GB, free: 14.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.3542, allocations: 4 kB / 0.5155 GB, free: 14.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00222/0.3565, allocations: 1.383 MB / 0.5168 GB, free: 13.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.3565, allocations: 9.562 kB / 0.5168 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.3565, allocations: 15.94 kB / 0.5168 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.559e-05/0.3565, allocations: 24.78 kB / 0.5169 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/0.3581, allocations: 359.4 kB / 0.5172 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-05/0.3581, allocations: 27.88 kB / 0.5172 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007403/0.3589, allocations: 154.9 kB / 0.5174 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-05/0.359, allocations: 64 kB / 0.5174 GB, free: 12.76 MB / 382.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.0005238/0.3595, allocations: 308.1 kB / 0.5177 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.3597, allocations: 135.1 kB / 0.5179 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/0.3615, allocations: 1.062 MB / 0.5189 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.3615, allocations: 8 kB / 0.5189 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3616, allocations: 3.938 kB / 0.5189 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.3616, allocations: 7.984 kB / 0.5189 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.3631, allocations: 1.119 MB / 0.52 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.3631, allocations: 0 / 0.52 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/0.3649, allocations: 303.6 kB / 0.5203 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.3649, allocations: 4 kB / 0.5203 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-05/0.365, allocations: 35.98 kB / 0.5203 GB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.365, allocations: 4 kB / 0.5203 GB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.365, allocations: 3.938 kB / 0.5203 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/0.3673, allocations: 1.466 MB / 0.5218 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.3675, allocations: 223.9 kB / 0.522 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.3676, allocations: 28 kB / 0.522 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005168/0.3681, allocations: 27.98 kB / 0.522 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.3683, allocations: 80.83 kB / 0.5221 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.096e-05/0.3684, allocations: 31.98 kB / 0.5221 GB, free: 7.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008666/0.3692, allocations: 0.6323 MB / 0.5228 GB, free: 7.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3692, allocations: 4 kB / 0.5228 GB, free: 7.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009412/0.3702, allocations: 251.5 kB / 0.523 GB, free: 6.941 MB / 382.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.0002158/0.3704, allocations: 139.1 kB / 0.5231 GB, free: 6.797 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.3721, allocations: 0.9348 MB / 0.524 GB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3721, allocations: 0 / 0.524 GB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006415/0.3727, allocations: 433.5 kB / 0.5245 GB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007364/0.3735, allocations: 149.3 kB / 0.5246 GB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004903/0.3784, allocations: 2.889 MB / 0.5274 GB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008197/0.3792, allocations: 1.197 MB / 0.5286 GB, free: 1.145 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007106/0.3799, allocations: 194.1 kB / 0.5288 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.3802, allocations: 107.4 kB / 0.5289 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of SimCode: time 1.312e-06/0.3802, allocations: 0 / 0.5289 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of Templates: time 0.0203/0.4005, allocations: 9.581 MB / 0.5382 GB, free: 7.289 MB / 398.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.172865464352071]