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.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.00128/0.00128, allocations: 119.3 kB / 17.85 MB, free: 5.312 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.001421/0.001421, allocations: 202.3 kB / 20.8 MB, free: 2.375 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.6/1.6, allocations: 230.6 MB / 254.2 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/package.mo): time 0.3972/0.3972, allocations: 65.48 MB / 375.7 MB, free: 8.469 MB / 302.1 MB " [Timeout remaining time 179] Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/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(ThermalSeparation.Examples.Testing.Pump.PumpSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermalSeparation.Examples.Testing.Pump.PumpSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermalSeparation 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.00198/0.00198, allocations: 63.91 kB / 0.513 GB, free: 11.69 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.156, allocations: 68.02 MB / 0.5794 GB, free: 7.535 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.009488/0.1655, allocations: 7.424 MB / 0.5867 GB, free: 80 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3682/0.5337, allocations: 4.459 MB / 0.591 GB, free: 7.914 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.5348, allocations: 13.02 kB / 0.5911 GB, free: 7.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.5364, allocations: 0.5609 MB / 0.5916 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.5383, allocations: 0.7167 MB / 0.5923 GB, free: 7.496 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.54, allocations: 0.5324 MB / 0.5928 GB, free: 7.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003627/0.5437, allocations: 2.451 MB / 0.5952 GB, free: 6.793 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.5448, allocations: 0.6481 MB / 0.5959 GB, free: 6.496 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.5464, allocations: 0.8705 MB / 0.5967 GB, free: 6.148 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001691/0.5481, allocations: 1.099 MB / 0.5978 GB, free: 5.746 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002873/0.5484, allocations: 208.2 kB / 0.598 GB, free: 5.746 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004678/0.5489, allocations: 206.3 kB / 0.5982 GB, free: 5.746 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008458/0.5497, allocations: 0.8083 MB / 0.599 GB, free: 5.391 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.551, allocations: 1.083 MB / 0.6 GB, free: 4.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003806/0.5548, allocations: 3.085 MB / 0.603 GB, free: 3.691 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5548, allocations: 1.094 kB / 0.603 GB, free: 3.691 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5548, allocations: 4.562 kB / 0.603 GB, free: 3.688 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001021/0.5549, allocations: 0 / 0.603 GB, free: 3.688 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.005857/0.5608, allocations: 2.2 MB / 0.6052 GB, free: 2.441 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.5608, allocations: 9.688 kB / 0.6052 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.57e-05/0.5609, allocations: 54.7 kB / 0.6052 GB, free: 2.438 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003791/0.5613, allocations: 301.1 kB / 0.6055 GB, free: 2.258 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008006/0.5621, allocations: 232.5 kB / 0.6058 GB, free: 2.152 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.5634, allocations: 0.7556 MB / 0.6065 GB, free: 1.609 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.5635, allocations: 148 kB / 0.6066 GB, free: 1.543 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008311/0.5643, allocations: 267.7 kB / 0.6069 GB, free: 1.477 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00462/0.569, allocations: 2.732 MB / 0.6096 GB, free: 88 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-05/0.569, allocations: 14.58 kB / 0.6096 GB, free: 80 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/0.5692, allocations: 84.42 kB / 0.6096 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002014/0.5694, allocations: 153 kB / 0.6098 GB, free: 0 / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00474/0.5741, allocations: 2.178 MB / 0.6119 GB, free: 14.98 MB / 462.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.01526/0.5894, allocations: 10.83 MB / 0.6225 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003146/0.5926, allocations: 2.71 MB / 0.6251 GB, free: 2.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.5938, allocations: 0.5953 MB / 0.6257 GB, free: 2.594 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.5939, allocations: 23.78 kB / 0.6257 GB, free: 2.586 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.5939, allocations: 53.31 kB / 0.6258 GB, free: 2.531 MB / 462.1 MB Notification: Performance of pre-optimization done (n=115): time 3.556e-06/0.5939, allocations: 0 / 0.6258 GB, free: 2.531 MB / 462.1 MB Notification: Performance of matching and sorting (n=140): time 0.02373/0.6177, allocations: 7.677 MB / 0.6333 GB, free: 13.87 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006787/0.6245, allocations: 4.112 MB / 0.6373 GB, free: 10.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/0.6265, allocations: 1.095 MB / 0.6384 GB, free: 9.383 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004649/0.627, allocations: 46.83 kB / 0.6384 GB, free: 9.336 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008998/0.6279, allocations: 0.9664 MB / 0.6394 GB, free: 8.477 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008535/0.6287, allocations: 0.5175 MB / 0.6399 GB, free: 8.031 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008888/0.6296, allocations: 444.7 kB / 0.6403 GB, free: 7.773 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002385/0.6299, allocations: 343.3 kB / 0.6406 GB, free: 7.441 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/0.6318, allocations: 0.9178 MB / 0.6415 GB, free: 6.977 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00264/0.6344, allocations: 1.879 MB / 0.6434 GB, free: 5.195 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004957/0.6394, allocations: 2.948 MB / 0.6462 GB, free: 2.809 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.907e-05/0.6394, allocations: 9.594 kB / 0.6462 GB, free: 2.809 MB / 478.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01028/0.6497, allocations: 3.686 MB / 0.6498 GB, free: 15.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.567e-05/0.6497, allocations: 16.97 kB / 0.6499 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.691e-05/0.6498, allocations: 39.94 kB / 0.6499 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005031/0.6548, allocations: 0.9818 MB / 0.6509 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003664/0.6585, allocations: 0.5548 MB / 0.6514 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/0.6718, allocations: 6.685 MB / 0.6579 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/0.6747, allocations: 159.8 kB / 0.6581 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004031/0.6751, allocations: 124 kB / 0.6582 GB, free: 6.434 MB / 494.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.001325/0.6765, allocations: 0.5768 MB / 0.6588 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000438/0.6769, allocations: 131.2 kB / 0.6589 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008831/0.6857, allocations: 2.843 MB / 0.6617 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007984/0.6937, allocations: 2.472 MB / 0.6641 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-05/0.6937, allocations: 8.438 kB / 0.6641 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.193e-05/0.6938, allocations: 7.969 kB / 0.6641 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/0.711, allocations: 6.048 MB / 0.67 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/0.7111, allocations: 8.625 kB / 0.67 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002198/0.7132, allocations: 279.6 kB / 0.6703 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006119/0.7194, allocations: 1.205 MB / 0.6714 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003748/0.7197, allocations: 35.98 kB / 0.6715 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01219/0.7319, allocations: 6.315 MB / 0.6776 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005851/0.7378, allocations: 3.975 MB / 0.6815 GB, free: 13.83 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/0.7489, allocations: 4.327 MB / 0.6858 GB, free: 9.414 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006751/0.7495, allocations: 224.2 kB / 0.686 GB, free: 9.176 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000294/0.7498, allocations: 35.98 kB / 0.686 GB, free: 9.141 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.7513, allocations: 83.84 kB / 0.6861 GB, free: 9.059 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003893/0.7517, allocations: 120.7 kB / 0.6862 GB, free: 8.938 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.7518, allocations: 47.98 kB / 0.6862 GB, free: 8.891 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.001422/0.7532, allocations: 0.7001 MB / 0.6869 GB, free: 8.18 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8e-08/0.7532, allocations: 0 / 0.6869 GB, free: 8.18 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.003244/0.7564, allocations: 0.5547 MB / 0.6875 GB, free: 7.625 MB / 0.5138 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.01144/0.7679, allocations: 4.91 MB / 0.6923 GB, free: 2.609 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.007472/0.7754, allocations: 2.564 MB / 0.6948 GB, free: 36 kB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.7754, allocations: 0 / 0.6948 GB, free: 36 kB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.004468/0.7798, allocations: 1.325 MB / 0.6961 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00294/0.7828, allocations: 408.9 kB / 0.6965 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03704/0.8198, allocations: 17.75 MB / 0.7138 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/0.8212, allocations: 1.407 MB / 0.7152 GB, free: 9.742 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001683/0.8229, allocations: 453.6 kB / 0.7156 GB, free: 9.293 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/0.824, allocations: 0.6515 MB / 0.7162 GB, free: 8.641 MB / 0.545 GB Notification: Performance of SimCode: time 9.52e-07/0.824, allocations: 4 kB / 0.7162 GB, free: 8.637 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09815/0.9221, allocations: 43.65 MB / 0.7589 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.53/16.45, allocations: 10.78 kB / 0.7589 GB, free: 13.27 MB / 0.5919 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.78134821099229] Failed to read output from testmodel.py, exit status != 0: 16.635654378973413 16.658617388 16.100596929 Calling exit ...