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.001345/0.001345, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001673/0.001673, allocations: 217.6 kB / 22.26 MB, free: 5.113 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.433/1.433, allocations: 230.6 MB / 256 MB, free: 8.031 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.0671/0.0671, allocations: 11.33 MB / 323.8 MB, free: 8.246 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="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: 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.002165/0.002165, allocations: 67.91 kB / 451 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1026, allocations: 56.07 MB / 0.4952 GB, free: 2.363 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.006075/0.1086, allocations: 4.447 MB / 0.4996 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003783/0.1124, allocations: 1.848 MB / 0.5014 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009252/0.1133, allocations: 98.94 kB / 0.5015 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005291/0.1139, allocations: 181.6 kB / 0.5016 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007803/0.1147, allocations: 186.1 kB / 0.5018 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.1168, allocations: 0.9749 MB / 0.5028 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002202/0.119, allocations: 1.628 MB / 0.5043 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005944/0.1196, allocations: 321.4 kB / 0.5047 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009363/0.1206, allocations: 0.6847 MB / 0.5053 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000793/0.1214, allocations: 0.6097 MB / 0.5059 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.1216, allocations: 128 kB / 0.506 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.1217, allocations: 128 kB / 0.5062 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.122, allocations: 322.7 kB / 0.5065 GB, free: 6.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005704/0.1226, allocations: 0.6443 MB / 0.5071 GB, free: 6.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.1241, allocations: 1.384 MB / 0.5085 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1241, allocations: 0 / 0.5085 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1241, allocations: 3.938 kB / 0.5085 GB, free: 4.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.967e-05/0.1242, allocations: 0 / 0.5085 GB, free: 4.719 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.003269/0.1274, allocations: 1.753 MB / 0.5102 GB, free: 2.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1275, allocations: 12.03 kB / 0.5102 GB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002006/0.1277, allocations: 169.1 kB / 0.5103 GB, free: 2.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002794/0.128, allocations: 191.8 kB / 0.5105 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.13, allocations: 0.975 MB / 0.5115 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003364/0.1303, allocations: 312.7 kB / 0.5118 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.1306, allocations: 136.3 kB / 0.5119 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2078/0.3384, allocations: 1.295 MB / 0.5132 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.349e-05/0.3384, allocations: 3.938 kB / 0.5132 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.876e-05/0.3385, allocations: 51.78 kB / 0.5132 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.3386, allocations: 31.86 kB / 0.5133 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.3399, allocations: 0.7828 MB / 0.514 GB, free: 22.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005469/0.3454, allocations: 5.24 MB / 0.5191 GB, free: 19.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.3469, allocations: 0.8135 MB / 0.5199 GB, free: 19.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005903/0.3474, allocations: 393.9 kB / 0.5203 GB, free: 19.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.061e-05/0.3475, allocations: 18.77 kB / 0.5203 GB, free: 19.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.3476, allocations: 46.06 kB / 0.5204 GB, free: 19.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 3.747e-06/0.3476, allocations: 6.922 kB / 0.5204 GB, free: 19.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=99): time 0.001976/0.3496, allocations: 1.102 MB / 0.5214 GB, free: 18.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.3497, allocations: 377.9 kB / 0.5218 GB, free: 18.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.3511, allocations: 1.014 MB / 0.5228 GB, free: 18.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.3512, allocations: 46.52 kB / 0.5228 GB, free: 18.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005007/0.3517, allocations: 0.67 MB / 0.5235 GB, free: 17.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000329/0.3521, allocations: 400.7 kB / 0.5239 GB, free: 17.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004393/0.3525, allocations: 298.9 kB / 0.5242 GB, free: 17.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.217e-05/0.3525, allocations: 302 kB / 0.5245 GB, free: 16.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006159/0.3532, allocations: 371.4 kB / 0.5248 GB, free: 16.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000859/0.354, allocations: 0.8601 MB / 0.5256 GB, free: 15.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.3555, allocations: 1.223 MB / 0.5268 GB, free: 15.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.3555, allocations: 4.594 kB / 0.5268 GB, free: 15.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002233/0.3577, allocations: 1.379 MB / 0.5282 GB, free: 14.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.3577, allocations: 11.7 kB / 0.5282 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/0.3578, allocations: 16.72 kB / 0.5282 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.968e-05/0.3578, allocations: 23.39 kB / 0.5282 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.3594, allocations: 359.3 kB / 0.5286 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.651e-05/0.3594, allocations: 27.77 kB / 0.5286 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008059/0.3602, allocations: 156 kB / 0.5288 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.832e-05/0.3603, allocations: 69.34 kB / 0.5288 GB, free: 14.29 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.0004662/0.3608, allocations: 305.9 kB / 0.5291 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.3609, allocations: 140.7 kB / 0.5293 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.3628, allocations: 1.059 MB / 0.5303 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.3628, allocations: 11.69 kB / 0.5303 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3628, allocations: 0.5 kB / 0.5303 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.3628, allocations: 5.859 kB / 0.5303 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.3642, allocations: 1.093 MB / 0.5314 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.3642, allocations: 4.156 kB / 0.5314 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001722/0.3659, allocations: 304.8 kB / 0.5317 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/0.3659, allocations: 4.031 kB / 0.5317 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.747e-05/0.366, allocations: 37.75 kB / 0.5317 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.366, allocations: 4.062 kB / 0.5317 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.366, allocations: 1.719 kB / 0.5317 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.368, allocations: 1.466 MB / 0.5331 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.3682, allocations: 144 kB / 0.5333 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.3684, allocations: 29.84 kB / 0.5333 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005258/0.3689, allocations: 33.5 kB / 0.5333 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.369, allocations: 77.7 kB / 0.5334 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.608e-05/0.3691, allocations: 34.7 kB / 0.5334 GB, free: 12.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008811/0.37, allocations: 0.6337 MB / 0.5341 GB, free: 11.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.37, allocations: 0 / 0.5341 GB, free: 11.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001056/0.371, allocations: 255.7 kB / 0.5343 GB, free: 11.82 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.00231/0.3733, allocations: 2.067 MB / 0.5363 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.375, allocations: 0.9222 MB / 0.5372 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.375, allocations: 1.125 kB / 0.5372 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006607/0.3757, allocations: 433.6 kB / 0.5376 GB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008041/0.3765, allocations: 152.9 kB / 0.5378 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/0.3919, allocations: 10.82 MB / 0.5484 GB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/0.3924, allocations: 1.193 MB / 0.5495 GB, free: 3.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000703/0.3931, allocations: 188.1 kB / 0.5497 GB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006015/0.3937, allocations: 0.584 MB / 0.5503 GB, free: 2.898 MB / 382.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3937, allocations: 3.844 kB / 0.5503 GB, free: 2.898 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06923/0.463, allocations: 23.32 MB / 0.573 GB, free: 12.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/13.98, allocations: 11.94 kB / 0.5731 GB, free: 12.3 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.698241159087047] Failed to read output from testmodel.py, exit status != 0: 14.097552002873272 14.114337156 13.986769956 Calling exit ...