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.001315/0.001315, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001347/0.001347, allocations: 215 kB / 22.25 MB, free: 5.262 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.363/1.363, allocations: 230.6 MB / 256 MB, free: 7.793 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.06154/0.06154, allocations: 11.35 MB / 323.8 MB, free: 8.027 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.002046/0.002046, allocations: 67.91 kB / 451 MB, free: 10.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1042, allocations: 56.07 MB / 0.4951 GB, free: 2.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ProcessControl): time 0.005501/0.1097, allocations: 3.874 MB / 0.4989 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003789/0.1135, allocations: 1.809 MB / 0.5007 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007361/0.1143, allocations: 98.94 kB / 0.5008 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.1147, allocations: 181.6 kB / 0.501 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005657/0.1152, allocations: 182.1 kB / 0.5011 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.1171, allocations: 0.9829 MB / 0.5021 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00174/0.1189, allocations: 1.628 MB / 0.5037 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005247/0.1194, allocations: 301.4 kB / 0.504 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008156/0.1202, allocations: 0.6769 MB / 0.5046 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000645/0.1209, allocations: 0.555 MB / 0.5052 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.121, allocations: 128 kB / 0.5053 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.1212, allocations: 128 kB / 0.5054 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000256/0.1215, allocations: 322.8 kB / 0.5057 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004319/0.1219, allocations: 0.5124 MB / 0.5062 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.1232, allocations: 1.392 MB / 0.5076 GB, free: 5.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.1232, allocations: 4 kB / 0.5076 GB, free: 5.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1232, allocations: 0 / 0.5076 GB, free: 5.344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.1232, allocations: 0 / 0.5076 GB, free: 5.344 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.002831/0.126, allocations: 1.751 MB / 0.5093 GB, free: 3.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1261, allocations: 12.03 kB / 0.5093 GB, free: 3.535 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001886/0.1263, allocations: 169.1 kB / 0.5095 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002446/0.1265, allocations: 191.8 kB / 0.5097 GB, free: 3.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.1282, allocations: 0.9789 MB / 0.5106 GB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002252/0.1285, allocations: 312.7 kB / 0.5109 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.1287, allocations: 136.2 kB / 0.511 GB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2047/0.3334, allocations: 1.602 MB / 0.5126 GB, free: 21.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.608e-05/0.3334, allocations: 7.844 kB / 0.5126 GB, free: 21.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.3336, allocations: 50.22 kB / 0.5127 GB, free: 21.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.3336, allocations: 29.34 kB / 0.5127 GB, free: 21.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.3349, allocations: 0.7807 MB / 0.5135 GB, free: 21.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004701/0.3396, allocations: 4.974 MB / 0.5183 GB, free: 18.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.3409, allocations: 0.8023 MB / 0.5191 GB, free: 18.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000515/0.3414, allocations: 391.8 kB / 0.5195 GB, free: 18.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.934e-05/0.3415, allocations: 22.05 kB / 0.5195 GB, free: 18.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.3415, allocations: 49.88 kB / 0.5195 GB, free: 18.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 3.687e-06/0.3415, allocations: 0 / 0.5195 GB, free: 18.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=99): time 0.001589/0.3431, allocations: 1.1 MB / 0.5206 GB, free: 18.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.397e-05/0.3432, allocations: 376.2 kB / 0.521 GB, free: 18.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.3442, allocations: 1.032 MB / 0.522 GB, free: 18.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.102e-05/0.3442, allocations: 55.92 kB / 0.522 GB, free: 18.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/0.3446, allocations: 0.6674 MB / 0.5227 GB, free: 17.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.3448, allocations: 405.4 kB / 0.5231 GB, free: 17.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/0.3452, allocations: 301.9 kB / 0.5234 GB, free: 17.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.3452, allocations: 302.2 kB / 0.5236 GB, free: 17.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006214/0.3459, allocations: 365 kB / 0.524 GB, free: 16.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008888/0.3468, allocations: 1.167 MB / 0.5251 GB, free: 15.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.3482, allocations: 1.22 MB / 0.5263 GB, free: 14.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.3482, allocations: 3.312 kB / 0.5263 GB, free: 14.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002111/0.3503, allocations: 1.385 MB / 0.5277 GB, free: 14.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.3503, allocations: 10.22 kB / 0.5277 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.3503, allocations: 18.92 kB / 0.5277 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.728e-05/0.3504, allocations: 20.94 kB / 0.5277 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.3518, allocations: 359.9 kB / 0.5281 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-05/0.3518, allocations: 29.2 kB / 0.5281 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006719/0.3525, allocations: 156.1 kB / 0.5282 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-05/0.3526, allocations: 64.23 kB / 0.5283 GB, free: 14.13 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.0003828/0.353, allocations: 307.4 kB / 0.5286 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.3531, allocations: 137 kB / 0.5287 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.3547, allocations: 1.055 MB / 0.5298 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.3547, allocations: 12.16 kB / 0.5298 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3547, allocations: 0 / 0.5298 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.3547, allocations: 7.109 kB / 0.5298 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.3559, allocations: 0.955 MB / 0.5307 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.3559, allocations: 1.734 kB / 0.5307 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/0.3576, allocations: 307.8 kB / 0.531 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.3576, allocations: 4.031 kB / 0.531 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.507e-05/0.3577, allocations: 34.27 kB / 0.531 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.3577, allocations: 6.062 kB / 0.5311 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3577, allocations: 0.7031 kB / 0.5311 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.3595, allocations: 1.474 MB / 0.5325 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.3596, allocations: 143.7 kB / 0.5326 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.3598, allocations: 29.39 kB / 0.5327 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004886/0.3603, allocations: 31.91 kB / 0.5327 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.3604, allocations: 80.84 kB / 0.5328 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.528e-05/0.3605, allocations: 29.92 kB / 0.5328 GB, free: 12.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007725/0.3612, allocations: 0.634 MB / 0.5334 GB, free: 11.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3612, allocations: 0.5 kB / 0.5334 GB, free: 11.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009013/0.3621, allocations: 251.3 kB / 0.5337 GB, free: 11.7 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.002187/0.3643, allocations: 2.068 MB / 0.5357 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.3659, allocations: 0.9297 MB / 0.5366 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3659, allocations: 1.062 kB / 0.5366 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005634/0.3664, allocations: 432.1 kB / 0.537 GB, free: 9.984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006793/0.3671, allocations: 160.3 kB / 0.5371 GB, free: 9.898 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.3803, allocations: 10.77 MB / 0.5477 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.3808, allocations: 0.6094 MB / 0.5483 GB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006818/0.3815, allocations: 185.5 kB / 0.5484 GB, free: 3.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005496/0.382, allocations: 0.5821 MB / 0.549 GB, free: 3.504 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.382, allocations: 0 / 0.549 GB, free: 3.504 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06175/0.4438, allocations: 23.07 MB / 0.5715 GB, free: 13.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.11, allocations: 6.562 kB / 0.5715 GB, free: 13.09 MB / 414.1 MB " [Timeout remaining time 648] (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.76386522501707] Failed to read output from testmodel.py, exit status != 0: 12.233244875911623 12.247532582 12.121309755 Calling exit ...