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.001495/0.001495, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001976/0.001976, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.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.07288/0.07288, allocations: 11.33 MB / 324.6 MB, free: 8.242 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: "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ProcessControl",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ProcessControl",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 63.91 kB / 451.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1108, allocations: 56.07 MB / 0.496 GB, free: 2.363 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.005799/0.1166, allocations: 4.447 MB / 0.5003 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003522/0.1201, allocations: 1.844 MB / 0.5021 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009953/0.1211, allocations: 102.9 kB / 0.5022 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004257/0.1215, allocations: 185.6 kB / 0.5024 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005653/0.1221, allocations: 182.1 kB / 0.5026 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.1242, allocations: 0.9745 MB / 0.5035 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001641/0.1258, allocations: 1.624 MB / 0.5051 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005535/0.1264, allocations: 321.4 kB / 0.5054 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008652/0.1272, allocations: 0.6886 MB / 0.5061 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007734/0.128, allocations: 0.6019 MB / 0.5067 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001903/0.1282, allocations: 128 kB / 0.5068 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.1283, allocations: 128 kB / 0.5069 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.1286, allocations: 322.7 kB / 0.5072 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005294/0.1291, allocations: 0.6559 MB / 0.5079 GB, free: 6.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.1306, allocations: 1.38 MB / 0.5092 GB, free: 4.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.1306, allocations: 7.938 kB / 0.5092 GB, free: 4.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1306, allocations: 3.938 kB / 0.5092 GB, free: 4.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.1306, allocations: 0 / 0.5092 GB, free: 4.715 MB / 382.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.003239/0.1338, allocations: 1.754 MB / 0.5109 GB, free: 2.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1339, allocations: 8.031 kB / 0.511 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.648e-05/0.1339, allocations: 30.38 kB / 0.511 GB, free: 2.875 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002017/0.1341, allocations: 165.1 kB / 0.5111 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002897/0.1344, allocations: 191.8 kB / 0.5113 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.1363, allocations: 0.9828 MB / 0.5123 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/0.1365, allocations: 308.7 kB / 0.5126 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/0.1367, allocations: 136.3 kB / 0.5127 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1911/0.3278, allocations: 1.291 MB / 0.514 GB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.395e-05/0.3278, allocations: 4.781 kB / 0.514 GB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.3279, allocations: 52.34 kB / 0.514 GB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.328, allocations: 27.94 kB / 0.514 GB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.3293, allocations: 0.7874 MB / 0.5148 GB, free: 22.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005395/0.3347, allocations: 5.241 MB / 0.5199 GB, free: 19.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.3361, allocations: 0.8069 MB / 0.5207 GB, free: 19.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005122/0.3366, allocations: 393.9 kB / 0.5211 GB, free: 19.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.799e-05/0.3367, allocations: 22.75 kB / 0.5211 GB, free: 19.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.3367, allocations: 46.91 kB / 0.5212 GB, free: 19.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 3.066e-06/0.3367, allocations: 0 / 0.5212 GB, free: 19.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=99): time 0.001766/0.3385, allocations: 1.108 MB / 0.5222 GB, free: 18.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.436e-05/0.3385, allocations: 374 kB / 0.5226 GB, free: 18.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.3396, allocations: 1.019 MB / 0.5236 GB, free: 18.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.945e-05/0.3396, allocations: 50.52 kB / 0.5236 GB, free: 17.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/0.34, allocations: 0.663 MB / 0.5243 GB, free: 17.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/0.3402, allocations: 403.4 kB / 0.5247 GB, free: 17.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003387/0.3406, allocations: 301.2 kB / 0.525 GB, free: 17.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.947e-05/0.3406, allocations: 302.8 kB / 0.5253 GB, free: 16.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005697/0.3412, allocations: 368.4 kB / 0.5256 GB, free: 16.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000773/0.342, allocations: 0.8646 MB / 0.5265 GB, free: 15.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.3433, allocations: 1.217 MB / 0.5276 GB, free: 14.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.3433, allocations: 2.938 kB / 0.5276 GB, free: 14.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001998/0.3453, allocations: 1.388 MB / 0.529 GB, free: 14.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.3453, allocations: 10.59 kB / 0.529 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.3454, allocations: 18.19 kB / 0.529 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.503e-05/0.3454, allocations: 22 kB / 0.529 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.3468, allocations: 357 kB / 0.5294 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.119e-05/0.3468, allocations: 28.22 kB / 0.5294 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006969/0.3475, allocations: 154.3 kB / 0.5296 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.487e-05/0.3476, allocations: 64.8 kB / 0.5296 GB, free: 14.25 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.000397/0.348, allocations: 304.8 kB / 0.5299 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.3482, allocations: 144 kB / 0.5301 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.3498, allocations: 1.063 MB / 0.5311 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.3498, allocations: 13.34 kB / 0.5311 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.3498, allocations: 0.875 kB / 0.5311 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.3498, allocations: 9.203 kB / 0.5311 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.3513, allocations: 1.083 MB / 0.5322 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3513, allocations: 0.75 kB / 0.5322 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/0.3529, allocations: 304 kB / 0.5325 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.3529, allocations: 3.281 kB / 0.5325 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.606e-05/0.353, allocations: 40.42 kB / 0.5325 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/0.353, allocations: 4.625 kB / 0.5325 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.353, allocations: 4.75 kB / 0.5325 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.355, allocations: 1.464 MB / 0.5339 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.3551, allocations: 139.1 kB / 0.5341 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.3553, allocations: 33.94 kB / 0.5341 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005039/0.3558, allocations: 31.02 kB / 0.5341 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.3559, allocations: 82.83 kB / 0.5342 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.356, allocations: 33.67 kB / 0.5342 GB, free: 12.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008147/0.3568, allocations: 0.6296 MB / 0.5349 GB, free: 11.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3568, allocations: 4.594 kB / 0.5349 GB, free: 11.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009662/0.3577, allocations: 255.7 kB / 0.5351 GB, free: 11.78 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.002233/0.36, allocations: 2.065 MB / 0.5371 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001704/0.3617, allocations: 0.9247 MB / 0.538 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3617, allocations: 1.188 kB / 0.538 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006661/0.3623, allocations: 428.7 kB / 0.5384 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007669/0.3631, allocations: 153.2 kB / 0.5386 GB, free: 9.992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/0.3768, allocations: 10.82 MB / 0.5492 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.3773, allocations: 1.191 MB / 0.5503 GB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006654/0.378, allocations: 193.4 kB / 0.5505 GB, free: 3.375 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006034/0.3786, allocations: 0.5811 MB / 0.5511 GB, free: 2.879 MB / 382.1 MB Notification: Performance of SimCode: time 1.724e-06/0.3786, allocations: 0 / 0.5511 GB, free: 2.879 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06639/0.445, allocations: 23.36 MB / 0.5739 GB, free: 12.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.38, allocations: 14.3 kB / 0.5739 GB, free: 12.31 MB / 414.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ProcessControl_fmu --startTime=0 --stopTime=40 --stepSize=0.016 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ProcessControl.fmu > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.224158899043687] Failed to read output from testmodel.py, exit status != 0: 13.557547595002688 13.580449138 13.445501095000001 Calling exit ...