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.00191/0.00191, allocations: 103.8 kB / 16.45 MB, free: 6.504 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.002364/0.002364, allocations: 192.6 kB / 19.41 MB, free: 3.68 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.444/1.444, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06487/0.06487, allocations: 11.35 MB / 314 MB, free: 14.94 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-master/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: "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ProcessControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ProcessControl",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.91 kB / 437.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1074, allocations: 54.83 MB / 492.2 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.00605/0.1135, allocations: 4.421 MB / 496.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003383/0.1168, allocations: 1.836 MB / 498.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005365/0.1174, allocations: 71.38 kB / 498.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003755/0.1177, allocations: 185.6 kB / 498.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005069/0.1183, allocations: 186.1 kB / 498.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.12, allocations: 0.9561 MB / 499.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001744/0.1217, allocations: 1.628 MB / 0.4897 GB, free: 10.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005525/0.1223, allocations: 312.8 kB / 0.49 GB, free: 9.883 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008569/0.1232, allocations: 0.6691 MB / 0.4906 GB, free: 9.211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006967/0.1238, allocations: 0.5981 MB / 0.4912 GB, free: 8.609 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.124, allocations: 132 kB / 0.4913 GB, free: 8.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.1242, allocations: 131.9 kB / 0.4915 GB, free: 8.352 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002748/0.1245, allocations: 326.7 kB / 0.4918 GB, free: 8.031 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005997/0.1251, allocations: 0.6482 MB / 0.4924 GB, free: 7.379 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.1266, allocations: 1.388 MB / 0.4938 GB, free: 5.984 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1266, allocations: 0 / 0.4938 GB, free: 5.984 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1266, allocations: 0 / 0.4938 GB, free: 5.984 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.06e-05/0.1266, allocations: 4 kB / 0.4938 GB, free: 5.98 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.003103/0.1297, allocations: 1.83 MB / 0.4956 GB, free: 4.086 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1297, allocations: 11.89 kB / 0.4956 GB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001846/0.1299, allocations: 165.1 kB / 0.4957 GB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002588/0.1302, allocations: 191.8 kB / 0.4959 GB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/0.132, allocations: 1.07 MB / 0.497 GB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002779/0.1323, allocations: 308.7 kB / 0.4972 GB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.1325, allocations: 144.3 kB / 0.4974 GB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.1344, allocations: 1.302 MB / 0.4987 GB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.1344, allocations: 3.938 kB / 0.4987 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.721e-05/0.1345, allocations: 52 kB / 0.4987 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/0.1346, allocations: 28 kB / 0.4987 GB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.1359, allocations: 0.7765 MB / 0.4995 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006669/0.1426, allocations: 5.309 MB / 0.5047 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.1442, allocations: 0.8 MB / 0.5055 GB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006232/0.1448, allocations: 394.3 kB / 0.5058 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.95e-05/0.1449, allocations: 21.05 kB / 0.5059 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.1449, allocations: 43.56 kB / 0.5059 GB, free: 9.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 3.096e-06/0.1449, allocations: 0 / 0.5059 GB, free: 9.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=99): time 0.001981/0.1469, allocations: 1.1 MB / 0.507 GB, free: 7.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000229/0.1471, allocations: 384.7 kB / 0.5073 GB, free: 7.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.1485, allocations: 1.016 MB / 0.5083 GB, free: 6.434 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.1486, allocations: 45.7 kB / 0.5084 GB, free: 6.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005634/0.1491, allocations: 0.6654 MB / 0.509 GB, free: 5.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003406/0.1495, allocations: 404.6 kB / 0.5094 GB, free: 5.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003992/0.1499, allocations: 299.5 kB / 0.5097 GB, free: 5.016 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.15, allocations: 305.1 kB / 0.51 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006941/0.1507, allocations: 371.8 kB / 0.5103 GB, free: 4.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.1518, allocations: 0.856 MB / 0.5112 GB, free: 3.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/0.1537, allocations: 1.219 MB / 0.5124 GB, free: 1.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.1537, allocations: 4 kB / 0.5124 GB, free: 1.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002474/0.1561, allocations: 1.382 MB / 0.5137 GB, free: 488 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.1562, allocations: 15.12 kB / 0.5137 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.1562, allocations: 16.78 kB / 0.5138 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.832e-05/0.1562, allocations: 20 kB / 0.5138 GB, free: 440 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.1578, allocations: 359.4 kB / 0.5141 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-05/0.1578, allocations: 31.86 kB / 0.5141 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1916/0.3494, allocations: 151.7 kB / 0.5143 GB, free: 32.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.3496, allocations: 63.67 kB / 0.5144 GB, free: 32.19 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.0004729/0.35, allocations: 302.8 kB / 0.5146 GB, free: 32.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.3502, allocations: 138.4 kB / 0.5148 GB, free: 32.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.3519, allocations: 1.057 MB / 0.5158 GB, free: 32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.3519, allocations: 10.78 kB / 0.5158 GB, free: 32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3519, allocations: 7.406 kB / 0.5158 GB, free: 32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.3519, allocations: 5.859 kB / 0.5158 GB, free: 32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.3533, allocations: 1.118 MB / 0.5169 GB, free: 31.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.3533, allocations: 0.7031 kB / 0.5169 GB, free: 31.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/0.3552, allocations: 307 kB / 0.5172 GB, free: 31.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-06/0.3552, allocations: 3.469 kB / 0.5172 GB, free: 31.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.479e-05/0.3553, allocations: 31.3 kB / 0.5172 GB, free: 31.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.3553, allocations: 7.547 kB / 0.5173 GB, free: 31.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3553, allocations: 3.391 kB / 0.5173 GB, free: 31.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.3573, allocations: 1.466 MB / 0.5187 GB, free: 31.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.3575, allocations: 221.6 kB / 0.5189 GB, free: 31.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.3576, allocations: 32.45 kB / 0.5189 GB, free: 31.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005344/0.3582, allocations: 31.05 kB / 0.519 GB, free: 31.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.3583, allocations: 75.31 kB / 0.519 GB, free: 31.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.488e-05/0.3584, allocations: 33.56 kB / 0.5191 GB, free: 31.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000734/0.3591, allocations: 0.6333 MB / 0.5197 GB, free: 31.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3591, allocations: 0 / 0.5197 GB, free: 31.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008294/0.3599, allocations: 259.1 kB / 0.5199 GB, free: 31.45 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.002164/0.3621, allocations: 2.07 MB / 0.522 GB, free: 30.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.3636, allocations: 0.9256 MB / 0.5229 GB, free: 30.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3636, allocations: 1.375 kB / 0.5229 GB, free: 30.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006527/0.3643, allocations: 429.2 kB / 0.5233 GB, free: 29.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007142/0.365, allocations: 152.2 kB / 0.5234 GB, free: 29.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/0.3794, allocations: 10.83 MB / 0.534 GB, free: 24.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006191/0.3801, allocations: 1.191 MB / 0.5352 GB, free: 23.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007326/0.3808, allocations: 183.8 kB / 0.5353 GB, free: 23.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006033/0.3814, allocations: 0.584 MB / 0.5359 GB, free: 22.88 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3814, allocations: 0 / 0.5359 GB, free: 22.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05204/0.4334, allocations: 22.35 MB / 0.5577 GB, free: 4.465 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.26, allocations: 0 / 0.5577 GB, free: 4.465 MB / 382.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: 14.017881356179714] Failed to read output from testmodel.py, exit status != 0: 11.349229863844812 11.371363851 11.24029954 Calling exit ...