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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.0015, allocations: 109.7 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 192 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.3728/0.3728, allocations: 64.94 MB / 356.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 63.89 kB / 494.8 MB, free: 5.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3596, allocations: 63.55 MB / 0.5452 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.008776/0.3684, allocations: 7.365 MB / 0.5524 GB, free: 9.969 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00646/0.3749, allocations: 4.384 MB / 0.5567 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007003/0.3756, allocations: 11.94 kB / 0.5567 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.3775, allocations: 0.5514 MB / 0.5573 GB, free: 5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.379, allocations: 0.7025 MB / 0.558 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.3801, allocations: 0.5306 MB / 0.5585 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002747/0.3829, allocations: 2.458 MB / 0.5609 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009621/0.3838, allocations: 0.7421 MB / 0.5616 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.3849, allocations: 0.853 MB / 0.5624 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.3864, allocations: 1.051 MB / 0.5635 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002719/0.3866, allocations: 211.9 kB / 0.5637 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000369/0.387, allocations: 204 kB / 0.5639 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007222/0.3877, allocations: 0.7949 MB / 0.5646 GB, free: 13.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.3889, allocations: 1.089 MB / 0.5657 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003019/0.3919, allocations: 3.083 MB / 0.5687 GB, free: 9.234 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3919, allocations: 4 kB / 0.5687 GB, free: 9.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3919, allocations: 0 / 0.5687 GB, free: 9.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.225e-05/0.392, allocations: 0 / 0.5687 GB, free: 9.23 MB / 430.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.004335/0.3963, allocations: 2.199 MB / 0.5709 GB, free: 6.973 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.3964, allocations: 12.03 kB / 0.5709 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003681/0.3967, allocations: 300 kB / 0.5711 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003312/0.3971, allocations: 203.7 kB / 0.5713 GB, free: 6.457 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.3982, allocations: 0.7514 MB / 0.5721 GB, free: 5.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.3983, allocations: 152.3 kB / 0.5722 GB, free: 5.512 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007074/0.399, allocations: 272.4 kB / 0.5725 GB, free: 5.246 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004166/0.4032, allocations: 2.735 MB / 0.5752 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.181e-05/0.4033, allocations: 7.938 kB / 0.5752 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.4035, allocations: 80 kB / 0.5752 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002847/0.4037, allocations: 151.5 kB / 0.5754 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003847/0.4076, allocations: 2.18 MB / 0.5775 GB, free: 15.9 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.01379/0.4214, allocations: 10.82 MB / 0.5881 GB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/0.4245, allocations: 2.778 MB / 0.5908 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.4256, allocations: 0.6417 MB / 0.5914 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.4257, allocations: 20.98 kB / 0.5914 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.4258, allocations: 47.56 kB / 0.5915 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of pre-optimization done (n=115): time 3.196e-06/0.4258, allocations: 4 kB / 0.5915 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02034/0.4462, allocations: 7.702 MB / 0.599 GB, free: 8.762 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005285/0.4515, allocations: 4.109 MB / 0.603 GB, free: 4.301 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.4531, allocations: 1.091 MB / 0.6041 GB, free: 3.188 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001936/0.4533, allocations: 45.7 kB / 0.6041 GB, free: 3.137 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007502/0.454, allocations: 0.9709 MB / 0.6051 GB, free: 2.152 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005295/0.4546, allocations: 0.523 MB / 0.6056 GB, free: 1.625 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007173/0.4553, allocations: 440.4 kB / 0.606 GB, free: 1.188 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4555, allocations: 341.9 kB / 0.6063 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.4571, allocations: 0.9182 MB / 0.6072 GB, free: 15.92 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/0.4596, allocations: 1.875 MB / 0.6091 GB, free: 13.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004288/0.4639, allocations: 2.947 MB / 0.6119 GB, free: 10.18 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/0.464, allocations: 15.94 kB / 0.612 GB, free: 10.17 MB / 478.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008951/0.4729, allocations: 3.704 MB / 0.6156 GB, free: 6.445 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.473, allocations: 20 kB / 0.6156 GB, free: 6.426 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.905e-05/0.473, allocations: 32 kB / 0.6156 GB, free: 6.395 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004597/0.4776, allocations: 0.9858 MB / 0.6166 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002987/0.4806, allocations: 0.5576 MB / 0.6171 GB, free: 4.848 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/0.4926, allocations: 6.681 MB / 0.6237 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.4948, allocations: 155.8 kB / 0.6238 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/0.495, allocations: 124 kB / 0.6239 GB, free: 13.7 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.001011/0.496, allocations: 0.5603 MB / 0.6245 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/0.4964, allocations: 143.1 kB / 0.6246 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008037/0.5044, allocations: 2.859 MB / 0.6274 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007136/0.5116, allocations: 2.488 MB / 0.6298 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.5116, allocations: 4.188 kB / 0.6298 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.089e-05/0.5116, allocations: 11.97 kB / 0.6298 GB, free: 7.578 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.5255, allocations: 6.069 MB / 0.6358 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.5255, allocations: 8 kB / 0.6358 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001926/0.5275, allocations: 280.1 kB / 0.636 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005496/0.533, allocations: 1.212 MB / 0.6372 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/0.5331, allocations: 35.98 kB / 0.6373 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/0.5436, allocations: 6.319 MB / 0.6434 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005184/0.5488, allocations: 3.979 MB / 0.6473 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009822/0.5586, allocations: 4.34 MB / 0.6516 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000484/0.5591, allocations: 224.2 kB / 0.6518 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.5593, allocations: 39.98 kB / 0.6518 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/0.5606, allocations: 80.23 kB / 0.6519 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003351/0.5609, allocations: 112.7 kB / 0.652 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.561, allocations: 59.92 kB / 0.6521 GB, free: 16 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001025/0.5621, allocations: 0.6963 MB / 0.6527 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5621, allocations: 0 / 0.6527 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002104/0.5642, allocations: 0.5547 MB / 0.6533 GB, free: 14.75 MB / 0.5137 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.009915/0.5741, allocations: 4.949 MB / 0.6581 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006759/0.5809, allocations: 2.673 MB / 0.6607 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.5809, allocations: 5 kB / 0.6607 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003934/0.5849, allocations: 1.399 MB / 0.6621 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/0.5873, allocations: 413.8 kB / 0.6625 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0326/0.6199, allocations: 17.77 MB / 0.6798 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.6213, allocations: 1.411 MB / 0.6812 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001568/0.6229, allocations: 456.7 kB / 0.6816 GB, free: 140 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/0.6239, allocations: 0.6477 MB / 0.6823 GB, free: 15.48 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/0.6239, allocations: 0 / 0.6823 GB, free: 15.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.345/0.9689, allocations: 43.32 MB / 0.7246 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/15.24, allocations: 6.797 kB / 0.7246 GB, free: 157.8 MB / 0.5606 GB (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 --timeout=50 --tolerance=1e-06 ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem.fmu > ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe 2>&1)