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.001806/0.001806, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001897/0.001897, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.418/1.418, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.06142/0.06142, allocations: 11.33 MB / 320.9 MB, free: 14.08 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.001881/0.001881, allocations: 64.91 kB / 446.5 MB, free: 38.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09233/0.09421, allocations: 56.01 MB / 0.4908 GB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.00426/0.09847, allocations: 4.439 MB / 0.4951 GB, free: 14.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003234/0.1017, allocations: 1.829 MB / 0.4969 GB, free: 13.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005141/0.1022, allocations: 102.9 kB / 0.497 GB, free: 13.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.1026, allocations: 185.6 kB / 0.4972 GB, free: 12.85 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004595/0.103, allocations: 182.1 kB / 0.4973 GB, free: 12.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.1047, allocations: 0.9594 MB / 0.4983 GB, free: 11.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.1063, allocations: 1.628 MB / 0.4999 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004983/0.1068, allocations: 325 kB / 0.5002 GB, free: 9.723 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000746/0.1075, allocations: 0.6808 MB / 0.5008 GB, free: 9.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006588/0.1082, allocations: 0.6136 MB / 0.5014 GB, free: 8.422 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001763/0.1084, allocations: 128 kB / 0.5015 GB, free: 8.297 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.1085, allocations: 128 kB / 0.5017 GB, free: 8.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.1088, allocations: 322.7 kB / 0.502 GB, free: 7.855 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000542/0.1093, allocations: 0.6559 MB / 0.5026 GB, free: 7.195 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.1107, allocations: 1.38 MB / 0.504 GB, free: 5.809 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1107, allocations: 0 / 0.504 GB, free: 5.809 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1107, allocations: 0 / 0.504 GB, free: 5.809 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.226e-05/0.1108, allocations: 0 / 0.504 GB, free: 5.809 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.003076/0.1138, allocations: 1.832 MB / 0.5058 GB, free: 3.914 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1139, allocations: 8.031 kB / 0.5058 GB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.6e-05/0.1139, allocations: 30.38 kB / 0.5058 GB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001867/0.1141, allocations: 169.1 kB / 0.506 GB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002636/0.1144, allocations: 195.8 kB / 0.5061 GB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/0.1167, allocations: 1.059 MB / 0.5072 GB, free: 2.395 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003307/0.117, allocations: 312.7 kB / 0.5075 GB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003057/0.1173, allocations: 140.3 kB / 0.5076 GB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/0.1203, allocations: 1.29 MB / 0.5089 GB, free: 452 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.381e-05/0.1203, allocations: 7.938 kB / 0.5089 GB, free: 444 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.1205, allocations: 48 kB / 0.5089 GB, free: 396 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.085e-05/0.1205, allocations: 32 kB / 0.509 GB, free: 364 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002314/0.1228, allocations: 0.7804 MB / 0.5097 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006341/0.1292, allocations: 5.297 MB / 0.5149 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.1307, allocations: 0.8098 MB / 0.5157 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006066/0.1313, allocations: 394.3 kB / 0.5161 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.429e-05/0.1314, allocations: 21.06 kB / 0.5161 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.1315, allocations: 47.56 kB / 0.5161 GB, free: 8.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.445e-06/0.1315, allocations: 0 / 0.5161 GB, free: 8.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=99): time 0.00195/0.1334, allocations: 1.108 MB / 0.5172 GB, free: 7.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002496/0.1337, allocations: 376.8 kB / 0.5176 GB, free: 7.262 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.135, allocations: 1.018 MB / 0.5186 GB, free: 6.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.054e-05/0.1351, allocations: 45.7 kB / 0.5186 GB, free: 6.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00059/0.1357, allocations: 0.6693 MB / 0.5193 GB, free: 5.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/0.1361, allocations: 400.7 kB / 0.5196 GB, free: 5.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004161/0.1365, allocations: 299.5 kB / 0.5199 GB, free: 4.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1366, allocations: 301.1 kB / 0.5202 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007333/0.1373, allocations: 367.8 kB / 0.5206 GB, free: 4.156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.1384, allocations: 0.8599 MB / 0.5214 GB, free: 3.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/0.1402, allocations: 1.222 MB / 0.5226 GB, free: 1.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.1402, allocations: 4 kB / 0.5226 GB, free: 1.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002409/0.1426, allocations: 1.375 MB / 0.5239 GB, free: 292 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.1426, allocations: 19.92 kB / 0.524 GB, free: 272 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.1426, allocations: 20.09 kB / 0.524 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.656e-05/0.1427, allocations: 20 kB / 0.524 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.1442, allocations: 359.4 kB / 0.5243 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-05/0.1442, allocations: 31.86 kB / 0.5244 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007745/0.145, allocations: 154.9 kB / 0.5245 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.879e-05/0.1451, allocations: 71.98 kB / 0.5246 GB, free: 15.62 MB / 398.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.0004689/0.1455, allocations: 295.6 kB / 0.5249 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.1457, allocations: 143.1 kB / 0.525 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/0.1476, allocations: 1.05 MB / 0.526 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.1476, allocations: 23.92 kB / 0.526 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1476, allocations: 0 / 0.526 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.1476, allocations: 3.984 kB / 0.5261 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.149, allocations: 1.123 MB / 0.5272 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.149, allocations: 0 / 0.5272 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/0.1507, allocations: 299.7 kB / 0.5274 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.1507, allocations: 4 kB / 0.5274 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.941e-05/0.1508, allocations: 39.98 kB / 0.5275 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.1508, allocations: 11.88 kB / 0.5275 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1508, allocations: 0 / 0.5275 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.153, allocations: 1.463 MB / 0.5289 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/0.1532, allocations: 215.9 kB / 0.5291 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.1534, allocations: 31.98 kB / 0.5292 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005023/0.1539, allocations: 35.92 kB / 0.5292 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.154, allocations: 76.89 kB / 0.5293 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.404e-05/0.1541, allocations: 31.98 kB / 0.5293 GB, free: 10.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007777/0.1549, allocations: 0.6323 MB / 0.5299 GB, free: 10.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1549, allocations: 0 / 0.5299 GB, free: 10.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007636/0.1556, allocations: 255.5 kB / 0.5302 GB, free: 9.805 MB / 398.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.002513/0.1581, allocations: 2.07 MB / 0.5322 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001606/0.1597, allocations: 0.9188 MB / 0.5331 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1598, allocations: 0 / 0.5331 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006363/0.1604, allocations: 434.1 kB / 0.5335 GB, free: 6.367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006946/0.1611, allocations: 163.9 kB / 0.5336 GB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/0.1758, allocations: 10.82 MB / 0.5442 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008307/0.1766, allocations: 1.19 MB / 0.5454 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006197/0.1773, allocations: 194.1 kB / 0.5456 GB, free: 9.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000746/0.178, allocations: 0.5774 MB / 0.5461 GB, free: 8.918 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.178, allocations: 0 / 0.5461 GB, free: 8.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0483/0.2263, allocations: 22.36 MB / 0.568 GB, free: 2.797 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.38, allocations: 8.062 kB / 0.568 GB, free: 2.789 MB / 430.1 MB " [Timeout remaining time 649] (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: 13.369373074034229] Failed to read output from testmodel.py, exit status != 0: 10.52439278998645 10.547253122 10.432388296 Calling exit ...