Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.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.00151/0.00151, allocations: 120.1 kB / 17.13 MB, free: 5.918 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.001702/0.001702, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.406/1.406, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.3713/0.3713, allocations: 65.54 MB / 368.9 MB, free: 13.96 MB / 302.1 MB " [Timeout remaining time 179] Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.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(ThermalSeparation.Examples.Testing.Pump.PumpSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermalSeparation.Examples.Testing.Pump.PumpSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002973/0.002973, allocations: 63.89 kB / 0.504 GB, free: 2.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.157, allocations: 66.85 MB / 0.5693 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.009312/0.1664, allocations: 7.413 MB / 0.5766 GB, free: 7.973 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006928/0.1733, allocations: 4.412 MB / 0.5809 GB, free: 3.543 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.1743, allocations: 11.94 kB / 0.5809 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.1759, allocations: 0.5592 MB / 0.5814 GB, free: 2.969 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.1778, allocations: 0.7259 MB / 0.5821 GB, free: 2.238 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.1789, allocations: 0.5305 MB / 0.5827 GB, free: 1.707 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2867/0.4656, allocations: 2.449 MB / 0.5851 GB, free: 8.707 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.4671, allocations: 0.6553 MB / 0.5857 GB, free: 8.664 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.4689, allocations: 0.8555 MB / 0.5865 GB, free: 8.629 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.4703, allocations: 1.094 MB / 0.5876 GB, free: 8.496 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003004/0.4706, allocations: 209.2 kB / 0.5878 GB, free: 8.496 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003553/0.4709, allocations: 203.5 kB / 0.588 GB, free: 8.496 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006622/0.4716, allocations: 0.805 MB / 0.5888 GB, free: 8.422 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.4727, allocations: 1.093 MB / 0.5898 GB, free: 8.152 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003691/0.4764, allocations: 3.08 MB / 0.5929 GB, free: 7.793 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4764, allocations: 0.875 kB / 0.5929 GB, free: 7.793 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4764, allocations: 0 / 0.5929 GB, free: 7.793 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001052/0.4765, allocations: 0.6562 kB / 0.5929 GB, free: 7.793 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 546 * Number of variables: 546 Notification: Performance of Generate backend data structure: time 0.005779/0.4823, allocations: 2.201 MB / 0.595 GB, free: 6.883 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.4823, allocations: 10.75 kB / 0.595 GB, free: 6.883 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004596/0.4828, allocations: 298 kB / 0.5953 GB, free: 6.832 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003613/0.4832, allocations: 204.8 kB / 0.5955 GB, free: 6.727 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.4846, allocations: 0.7493 MB / 0.5962 GB, free: 6.414 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.4847, allocations: 154.5 kB / 0.5964 GB, free: 6.406 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007895/0.4855, allocations: 269.2 kB / 0.5966 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004992/0.4905, allocations: 2.728 MB / 0.5993 GB, free: 5.633 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.012e-05/0.4905, allocations: 9.562 kB / 0.5993 GB, free: 5.633 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/0.4907, allocations: 85.16 kB / 0.5994 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002245/0.4909, allocations: 148.6 kB / 0.5995 GB, free: 5.555 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004539/0.4955, allocations: 2.182 MB / 0.6017 GB, free: 4.789 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01447/0.51, allocations: 10.82 MB / 0.6122 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/0.5131, allocations: 2.709 MB / 0.6149 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/0.5143, allocations: 0.5954 MB / 0.6154 GB, free: 9.746 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-05/0.5144, allocations: 20.17 kB / 0.6155 GB, free: 9.742 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/0.5145, allocations: 55.11 kB / 0.6155 GB, free: 9.688 MB / 462.1 MB Notification: Performance of pre-optimization done (n=115): time 2.985e-06/0.5145, allocations: 1.031 kB / 0.6155 GB, free: 9.688 MB / 462.1 MB Notification: Performance of matching and sorting (n=140): time 0.02171/0.5362, allocations: 7.675 MB / 0.623 GB, free: 5.051 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005442/0.5417, allocations: 4.103 MB / 0.627 GB, free: 1.227 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.5436, allocations: 1.091 MB / 0.6281 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000408/0.544, allocations: 46.77 kB / 0.6281 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008287/0.5448, allocations: 0.9672 MB / 0.6291 GB, free: 15.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007056/0.5455, allocations: 0.5145 MB / 0.6296 GB, free: 15.24 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007588/0.5463, allocations: 444.7 kB / 0.63 GB, free: 14.98 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.5465, allocations: 343.2 kB / 0.6303 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/0.5482, allocations: 0.9217 MB / 0.6312 GB, free: 14.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002581/0.5508, allocations: 1.876 MB / 0.6331 GB, free: 12.42 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004582/0.5554, allocations: 2.947 MB / 0.6359 GB, free: 10.17 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.241e-05/0.5554, allocations: 13.91 kB / 0.636 GB, free: 10.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009564/0.565, allocations: 3.688 MB / 0.6396 GB, free: 8.438 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.397e-05/0.565, allocations: 20.22 kB / 0.6396 GB, free: 8.438 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.061e-05/0.5651, allocations: 31.59 kB / 0.6396 GB, free: 8.438 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00466/0.5698, allocations: 0.9828 MB / 0.6406 GB, free: 7.754 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003284/0.573, allocations: 0.5588 MB / 0.6411 GB, free: 7.223 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/0.5856, allocations: 6.684 MB / 0.6476 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/0.5882, allocations: 171.7 kB / 0.6478 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000594/0.5888, allocations: 124 kB / 0.6479 GB, free: 68 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 5 (tank.mediumLiquidIn.state.phase,tank.mediumLiquid.state.phase,sourceLiquid.medium.state.phase,idealPumpControlledVdot.mediumLiquidIn.state.phase,idealPumpControlledVdot.mediumLiquid.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,14,63.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001829/0.5907, allocations: 0.5619 MB / 0.6485 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006209/0.5913, allocations: 139.1 kB / 0.6486 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008955/0.6002, allocations: 2.84 MB / 0.6514 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007648/0.6079, allocations: 2.469 MB / 0.6538 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-05/0.6079, allocations: 8 kB / 0.6538 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.903e-05/0.608, allocations: 3.984 kB / 0.6538 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/0.6248, allocations: 6.046 MB / 0.6597 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.05e-05/0.6248, allocations: 4 kB / 0.6597 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002079/0.6269, allocations: 288.2 kB / 0.66 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005596/0.6325, allocations: 1.195 MB / 0.6611 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003883/0.6329, allocations: 43.97 kB / 0.6612 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01104/0.644, allocations: 6.316 MB / 0.6674 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005586/0.6495, allocations: 3.975 MB / 0.6712 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/0.6608, allocations: 4.336 MB / 0.6755 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006764/0.6615, allocations: 220.2 kB / 0.6757 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005735/0.662, allocations: 32 kB / 0.6757 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/0.6639, allocations: 79.91 kB / 0.6758 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004944/0.6644, allocations: 120.7 kB / 0.6759 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002433/0.6646, allocations: 51.91 kB / 0.676 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001445/0.6661, allocations: 0.7039 MB / 0.6766 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6661, allocations: 0 / 0.6766 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003149/0.6692, allocations: 0.5547 MB / 0.6772 GB, free: 1.277 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],tank.level) * 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 (126): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,10,61.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (5,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01127/0.6805, allocations: 4.91 MB / 0.682 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007539/0.688, allocations: 2.573 MB / 0.6845 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.688, allocations: 4 kB / 0.6845 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004226/0.6923, allocations: 1.308 MB / 0.6858 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00328/0.6955, allocations: 399.6 kB / 0.6862 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04086/0.7364, allocations: 17.76 MB / 0.7035 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001886/0.7383, allocations: 1.418 MB / 0.7049 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001905/0.7402, allocations: 453.8 kB / 0.7053 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/0.7414, allocations: 0.6398 MB / 0.7059 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/0.7414, allocations: 0 / 0.7059 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1057/0.8471, allocations: 43.63 MB / 0.7485 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.55/16.39, allocations: 23.91 kB / 0.7486 GB, free: 6.953 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe ; mkfifo ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe ; head -c 1048576 < ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe >> ../files/ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=50 --tolerance=1e-06 ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem.fmu > ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.45536934165284] Failed to read output from testmodel.py, exit status != 0: 16.51591205270961 16.538542272 16.057495602 Calling exit ...