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.001274/0.001274, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00149/0.00149, allocations: 219.6 kB / 23.03 MB, free: 4.945 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.0629/0.0629, allocations: 11.33 MB / 324.5 MB, free: 8.059 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.00194/0.00194, allocations: 71.89 kB / 451.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1151, allocations: 56.06 MB / 0.4959 GB, free: 2.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.00554/0.1206, allocations: 3.872 MB / 0.4997 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003207/0.1238, allocations: 1.801 MB / 0.5014 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004822/0.1243, allocations: 98.94 kB / 0.5015 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.1246, allocations: 189.5 kB / 0.5017 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004984/0.1251, allocations: 182.1 kB / 0.5019 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.1269, allocations: 0.9751 MB / 0.5028 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001632/0.1285, allocations: 1.624 MB / 0.5044 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005108/0.129, allocations: 321.4 kB / 0.5047 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007647/0.1298, allocations: 0.6847 MB / 0.5054 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006524/0.1304, allocations: 0.6019 MB / 0.506 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.1306, allocations: 128 kB / 0.5061 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.1308, allocations: 128 kB / 0.5062 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002813/0.1311, allocations: 334.7 kB / 0.5066 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000429/0.1315, allocations: 0.5046 MB / 0.507 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.1328, allocations: 1.4 MB / 0.5084 GB, free: 5.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1328, allocations: 0 / 0.5084 GB, free: 5.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1328, allocations: 0 / 0.5084 GB, free: 5.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.1328, allocations: 0 / 0.5084 GB, free: 5.301 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.002943/0.1358, allocations: 1.768 MB / 0.5101 GB, free: 3.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1358, allocations: 8.031 kB / 0.5101 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.397e-05/0.1359, allocations: 30.38 kB / 0.5102 GB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001839/0.1361, allocations: 169.1 kB / 0.5103 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002626/0.1363, allocations: 191.8 kB / 0.5105 GB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/0.138, allocations: 0.975 MB / 0.5115 GB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002511/0.1383, allocations: 308.7 kB / 0.5118 GB, free: 1.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.1385, allocations: 144.3 kB / 0.5119 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1965/0.335, allocations: 1.596 MB / 0.5135 GB, free: 22.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.571e-05/0.335, allocations: 5.25 kB / 0.5135 GB, free: 22.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.3352, allocations: 50.97 kB / 0.5135 GB, free: 22.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/0.3352, allocations: 27.53 kB / 0.5135 GB, free: 22.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.3365, allocations: 0.7842 MB / 0.5143 GB, free: 22.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004624/0.3412, allocations: 4.973 MB / 0.5192 GB, free: 19.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.3424, allocations: 0.8001 MB / 0.5199 GB, free: 19.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.3429, allocations: 394.2 kB / 0.5203 GB, free: 19.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.194e-05/0.343, allocations: 17.7 kB / 0.5203 GB, free: 19.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.343, allocations: 51.03 kB / 0.5204 GB, free: 19.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 3.045e-06/0.343, allocations: 0 / 0.5204 GB, free: 19.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=99): time 0.001594/0.3446, allocations: 1.105 MB / 0.5215 GB, free: 19.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.246e-05/0.3447, allocations: 374.5 kB / 0.5218 GB, free: 18.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.3457, allocations: 1.017 MB / 0.5228 GB, free: 18.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.76e-05/0.3458, allocations: 50.36 kB / 0.5229 GB, free: 18.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/0.3462, allocations: 0.6602 MB / 0.5235 GB, free: 17.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/0.3464, allocations: 409.5 kB / 0.5239 GB, free: 17.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003777/0.3468, allocations: 300.5 kB / 0.5242 GB, free: 17.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.849e-05/0.3468, allocations: 303.8 kB / 0.5245 GB, free: 17.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006315/0.3475, allocations: 363.3 kB / 0.5248 GB, free: 17.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009707/0.3484, allocations: 1.172 MB / 0.526 GB, free: 15.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.3499, allocations: 1.22 MB / 0.5272 GB, free: 14.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.3499, allocations: 4.281 kB / 0.5272 GB, free: 14.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001993/0.3519, allocations: 1.382 MB / 0.5285 GB, free: 14.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.3519, allocations: 14.39 kB / 0.5285 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/0.3519, allocations: 21.77 kB / 0.5285 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.851e-05/0.352, allocations: 20.81 kB / 0.5286 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.3534, allocations: 352.6 kB / 0.5289 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.183e-05/0.3535, allocations: 31.16 kB / 0.5289 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006586/0.3541, allocations: 158.5 kB / 0.5291 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.369e-05/0.3542, allocations: 64.94 kB / 0.5291 GB, free: 14.27 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.0003838/0.3546, allocations: 305.4 kB / 0.5294 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.3548, allocations: 136.6 kB / 0.5296 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.3565, allocations: 1.06 MB / 0.5306 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.3565, allocations: 17.14 kB / 0.5306 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3565, allocations: 0.875 kB / 0.5306 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.3565, allocations: 10.84 kB / 0.5306 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.3577, allocations: 0.9534 MB / 0.5316 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.3577, allocations: 0 / 0.5316 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/0.3595, allocations: 304.5 kB / 0.5319 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.3595, allocations: 3.812 kB / 0.5319 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.236e-05/0.3595, allocations: 37.81 kB / 0.5319 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.3595, allocations: 2.531 kB / 0.5319 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3595, allocations: 10.17 kB / 0.5319 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.3614, allocations: 1.461 MB / 0.5333 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.3615, allocations: 142.3 kB / 0.5335 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.3617, allocations: 30.31 kB / 0.5335 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000491/0.3622, allocations: 32.42 kB / 0.5335 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.3623, allocations: 79.72 kB / 0.5336 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.99e-05/0.3624, allocations: 31.92 kB / 0.5336 GB, free: 12.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007931/0.3632, allocations: 0.637 MB / 0.5343 GB, free: 11.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3632, allocations: 4 kB / 0.5343 GB, free: 11.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000964/0.3641, allocations: 255.3 kB / 0.5345 GB, free: 11.83 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.002119/0.3662, allocations: 2.061 MB / 0.5365 GB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.3679, allocations: 0.9272 MB / 0.5374 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.3679, allocations: 1.219 kB / 0.5374 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006608/0.3685, allocations: 436.7 kB / 0.5378 GB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007263/0.3693, allocations: 148.5 kB / 0.538 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/0.3836, allocations: 10.78 MB / 0.5485 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/0.3842, allocations: 0.6094 MB / 0.5491 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000713/0.3849, allocations: 191.2 kB / 0.5493 GB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006063/0.3855, allocations: 0.5822 MB / 0.5499 GB, free: 3.648 MB / 382.1 MB Notification: Performance of SimCode: time 1.193e-06/0.3855, allocations: 0 / 0.5499 GB, free: 3.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05561/0.4411, allocations: 23.08 MB / 0.5724 GB, free: 13.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.46, allocations: 14.42 kB / 0.5724 GB, free: 13.13 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.241078454069793] Failed to read output from testmodel.py, exit status != 0: 13.631344827008434 13.645673296 13.510032033 Calling exit ...