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.0007555/0.0007555, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008278/0.0008278, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9042/0.9042, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.03548/0.03548, allocations: 8.601 MB / 267.8 MB, free: 5.125 MB / 250.7 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="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 1.543e-06/1.543e-06, allocations: 0 / 395.1 MB, free: 2.676 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.268e-05, allocations: 6.219 kB / 395.1 MB, free: 2.668 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.004034/0.004057, allocations: 3.866 MB / 398.9 MB, free: 14.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002469/0.006525, allocations: 1.829 MB / 400.8 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005475/0.007073, allocations: 94.94 kB / 400.9 MB, free: 12.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.007356, allocations: 197.4 kB / 401 MB, free: 12.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004239/0.00778, allocations: 186 kB / 401.2 MB, free: 12.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.009182, allocations: 0.9943 MB / 402.2 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.01028, allocations: 1.635 MB / 403.9 MB, free: 9.844 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003998/0.01068, allocations: 305.2 kB / 404.2 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.01175, allocations: 0.9391 MB / 405.1 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.01215, allocations: 442.2 kB / 405.5 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.01227, allocations: 131.9 kB / 405.7 MB, free: 8.012 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.984e-05/0.01237, allocations: 128 kB / 405.8 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.01254, allocations: 334.6 kB / 406.1 MB, free: 7.559 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.01277, allocations: 398.6 kB / 406.5 MB, free: 7.168 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009802/0.01375, allocations: 1.393 MB / 407.9 MB, free: 5.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.01376, allocations: 0 / 407.9 MB, free: 5.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.01376, allocations: 0 / 407.9 MB, free: 5.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.01378, allocations: 0 / 407.9 MB, free: 5.77 MB / 378.7 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.00201/0.01579, allocations: 1.739 MB / 409.6 MB, free: 3.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.01584, allocations: 12.02 kB / 409.6 MB, free: 3.973 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001648/0.01601, allocations: 169.1 kB / 409.8 MB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.01618, allocations: 187.8 kB / 410 MB, free: 3.613 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.01742, allocations: 0.9744 MB / 411 MB, free: 2.586 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.01759, allocations: 312.7 kB / 411.3 MB, free: 2.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004282/0.01802, allocations: 140.2 kB / 411.4 MB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.0194, allocations: 1.6 MB / 413 MB, free: 256 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.01942, allocations: 4.125 kB / 413 MB, free: 252 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.627e-05/0.01949, allocations: 52.38 kB / 413.1 MB, free: 200 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.01951, allocations: 31.94 kB / 413.1 MB, free: 168 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009591/0.02047, allocations: 0.7765 MB / 413.9 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004112/0.02458, allocations: 4.97 MB / 418.8 MB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.02571, allocations: 0.8072 MB / 419.6 MB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004058/0.02612, allocations: 390.7 kB / 420 MB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.659e-05/0.02617, allocations: 24.98 kB / 420 MB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.0262, allocations: 43.56 kB / 420.1 MB, free: 8.969 MB / 394.7 MB Notification: Performance of pre-optimization done (n=99): time 2.655e-06/0.0262, allocations: 0 / 420.1 MB, free: 8.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=99): time 0.001335/0.02754, allocations: 1.1 MB / 421.2 MB, free: 7.867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.02768, allocations: 376.8 kB / 421.6 MB, free: 7.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008208/0.0285, allocations: 1.037 MB / 422.6 MB, free: 6.363 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.373e-05/0.02855, allocations: 49.7 kB / 422.6 MB, free: 6.309 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003553/0.02891, allocations: 0.6654 MB / 423.3 MB, free: 5.637 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.02911, allocations: 396.7 kB / 423.7 MB, free: 5.246 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/0.02936, allocations: 303.5 kB / 424 MB, free: 4.945 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.739e-05/0.02943, allocations: 309 kB / 424.3 MB, free: 4.641 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/0.02986, allocations: 367.8 kB / 424.7 MB, free: 4.281 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.03089, allocations: 1.169 MB / 425.8 MB, free: 2.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.032, allocations: 1.215 MB / 427 MB, free: 1.422 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.03201, allocations: 4 kB / 427 MB, free: 1.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001455/0.03347, allocations: 1.387 MB / 428.4 MB, free: 24 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.03349, allocations: 12 kB / 428.4 MB, free: 12 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/0.03351, allocations: 16.03 kB / 428.5 MB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.03354, allocations: 20 kB / 428.5 MB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007781/0.03432, allocations: 351.4 kB / 428.8 MB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/0.03434, allocations: 35.8 kB / 428.9 MB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.03476, allocations: 151 kB / 429 MB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.283e-05/0.03483, allocations: 71.92 kB / 429.1 MB, free: 15.38 MB / 410.7 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.000372/0.0352, allocations: 299.3 kB / 429.4 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.03531, allocations: 143.1 kB / 429.5 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.03651, allocations: 1.05 MB / 430.6 MB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.619e-06/0.03652, allocations: 15.98 kB / 430.6 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.03653, allocations: 0 / 430.6 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.03653, allocations: 3.984 kB / 430.6 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008947/0.03743, allocations: 0.9584 MB / 431.5 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.03743, allocations: 0 / 431.5 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009084/0.03834, allocations: 307.6 kB / 431.8 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.03835, allocations: 8 kB / 431.8 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.576e-05/0.0384, allocations: 35.98 kB / 431.9 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.03841, allocations: 4 kB / 431.9 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.03841, allocations: 0 / 431.9 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.04012, allocations: 1.47 MB / 433.4 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.04023, allocations: 142.8 kB / 433.5 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.268e-05/0.04031, allocations: 28 kB / 433.5 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.04057, allocations: 31.98 kB / 433.5 MB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.04068, allocations: 76.84 kB / 433.6 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.04071, allocations: 35.98 kB / 433.7 MB, free: 10.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005525/0.04127, allocations: 0.6323 MB / 434.3 MB, free: 10.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.04127, allocations: 0 / 434.3 MB, free: 10.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005389/0.04181, allocations: 255.5 kB / 434.5 MB, free: 9.828 MB / 410.7 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.001678/0.04348, allocations: 2.055 MB / 436.6 MB, free: 7.746 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.04458, allocations: 0.9309 MB / 437.5 MB, free: 6.816 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.04458, allocations: 0 / 437.5 MB, free: 6.816 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004145/0.04499, allocations: 437.5 kB / 438 MB, free: 6.391 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.04549, allocations: 155.4 kB / 438.1 MB, free: 6.242 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1575/0.203, allocations: 10.62 MB / 448.7 MB, free: 83.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.2033, allocations: 0.6055 MB / 449.3 MB, free: 83.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004623/0.2038, allocations: 190.1 kB / 449.5 MB, free: 83.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/0.2042, allocations: 0.5873 MB / 450.1 MB, free: 83.36 MB / 410.7 MB Notification: Performance of SimCode: time 2.404e-06/0.2042, allocations: 0 / 450.1 MB, free: 83.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03854/0.2427, allocations: 23.21 MB / 473.3 MB, free: 80.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.736/7.979, allocations: 13.7 kB / 473.3 MB, free: 80.6 MB / 410.7 MB " [Timeout remaining time 652] (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: 9.844717586413026] Failed to read output from testmodel.py, exit status != 0: 8.073238302022219 8.083432124 8.067916145 Calling exit ...