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.001097/0.001097, allocations: 104.1 kB / 16.41 MB, free: 6.434 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.00113/0.00113, allocations: 197.4 kB / 17.34 MB, free: 5.742 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.26/1.26, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.3408/0.3408, allocations: 64.92 MB / 356.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 63.91 kB / 494.8 MB, free: 9.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3473, allocations: 63.52 MB / 0.5452 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.006521/0.3538, allocations: 7.388 MB / 0.5524 GB, free: 26.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005438/0.3593, allocations: 4.386 MB / 0.5567 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009072/0.3602, allocations: 8.406 kB / 0.5567 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.3616, allocations: 0.5512 MB / 0.5573 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.363, allocations: 0.7208 MB / 0.558 GB, free: 23.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.3641, allocations: 0.5254 MB / 0.5585 GB, free: 22.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002289/0.3664, allocations: 2.458 MB / 0.5609 GB, free: 21.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000917/0.3673, allocations: 0.7403 MB / 0.5616 GB, free: 21.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.3684, allocations: 0.8608 MB / 0.5624 GB, free: 20.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.3697, allocations: 1.045 MB / 0.5635 GB, free: 20.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002792/0.37, allocations: 211.5 kB / 0.5637 GB, free: 20.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.3704, allocations: 204.5 kB / 0.5639 GB, free: 20.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006942/0.3711, allocations: 0.7962 MB / 0.5646 GB, free: 20.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009927/0.3721, allocations: 1.091 MB / 0.5657 GB, free: 19.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003091/0.3752, allocations: 3.073 MB / 0.5687 GB, free: 18.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3752, allocations: 0 / 0.5687 GB, free: 18.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.3752, allocations: 0.7969 kB / 0.5687 GB, free: 18.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.819e-05/0.3753, allocations: 5.062 kB / 0.5687 GB, free: 18.27 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.004471/0.3798, allocations: 2.157 MB / 0.5708 GB, free: 17.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3798, allocations: 9.75 kB / 0.5708 GB, free: 17.06 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000357/0.3802, allocations: 302.9 kB / 0.5711 GB, free: 16.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003263/0.3805, allocations: 195.8 kB / 0.5713 GB, free: 16.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.3816, allocations: 0.7425 MB / 0.572 GB, free: 16.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.3817, allocations: 157.4 kB / 0.5722 GB, free: 16.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006897/0.3824, allocations: 267.5 kB / 0.5724 GB, free: 16.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003643/0.3861, allocations: 2.729 MB / 0.5751 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.107e-05/0.3861, allocations: 15.31 kB / 0.5751 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/0.3863, allocations: 85.64 kB / 0.5752 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/0.3865, allocations: 155.1 kB / 0.5753 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/0.3899, allocations: 2.165 MB / 0.5775 GB, free: 13.25 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.009997/0.3999, allocations: 10.8 MB / 0.588 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.4022, allocations: 2.785 MB / 0.5907 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009815/0.4032, allocations: 0.642 MB / 0.5914 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.4033, allocations: 13.5 kB / 0.5914 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.4034, allocations: 53.88 kB / 0.5914 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of pre-optimization done (n=115): time 3.326e-06/0.4034, allocations: 0 / 0.5914 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.01912/0.4225, allocations: 7.589 MB / 0.5988 GB, free: 11.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004579/0.4271, allocations: 4.117 MB / 0.6028 GB, free: 7.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.4286, allocations: 1.09 MB / 0.6039 GB, free: 6.367 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.4288, allocations: 45.7 kB / 0.604 GB, free: 6.316 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000587/0.4293, allocations: 0.9317 MB / 0.6049 GB, free: 5.367 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000457/0.4298, allocations: 0.4932 MB / 0.6053 GB, free: 4.867 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006543/0.4305, allocations: 440.2 kB / 0.6058 GB, free: 4.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.4306, allocations: 345.9 kB / 0.6061 GB, free: 4.086 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/0.4321, allocations: 0.9103 MB / 0.607 GB, free: 3.172 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002078/0.4342, allocations: 1.882 MB / 0.6088 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003711/0.4379, allocations: 2.947 MB / 0.6117 GB, free: 13.43 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/0.438, allocations: 11.94 kB / 0.6117 GB, free: 13.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008207/0.4462, allocations: 3.696 MB / 0.6153 GB, free: 9.699 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.4462, allocations: 20 kB / 0.6153 GB, free: 9.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.73e-05/0.4463, allocations: 36.12 kB / 0.6154 GB, free: 9.645 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004219/0.4505, allocations: 0.9843 MB / 0.6163 GB, free: 8.652 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/0.4531, allocations: 0.5615 MB / 0.6169 GB, free: 8.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/0.4638, allocations: 6.67 MB / 0.6234 GB, free: 1.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/0.466, allocations: 163.8 kB / 0.6236 GB, free: 1.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002196/0.4662, allocations: 131.9 kB / 0.6237 GB, free: 0.9414 MB / 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.001052/0.4673, allocations: 0.5565 MB / 0.6242 GB, free: 384 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/0.4676, allocations: 126.4 kB / 0.6243 GB, free: 256 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007337/0.4749, allocations: 2.863 MB / 0.6271 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006503/0.4814, allocations: 2.491 MB / 0.6296 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.4815, allocations: 8 kB / 0.6296 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.4815, allocations: 8.156 kB / 0.6296 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/0.4948, allocations: 6.076 MB / 0.6355 GB, free: 4.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/0.4949, allocations: 8 kB / 0.6355 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001823/0.4967, allocations: 279.5 kB / 0.6358 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004928/0.5017, allocations: 1.193 MB / 0.637 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001959/0.5019, allocations: 47.97 kB / 0.637 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009366/0.5113, allocations: 6.321 MB / 0.6432 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004661/0.516, allocations: 3.963 MB / 0.6471 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00918/0.5252, allocations: 4.347 MB / 0.6513 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005526/0.5257, allocations: 215.5 kB / 0.6515 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.526, allocations: 36 kB / 0.6515 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/0.5272, allocations: 83.91 kB / 0.6516 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003192/0.5276, allocations: 108.7 kB / 0.6517 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/0.5277, allocations: 51.92 kB / 0.6518 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009917/0.5287, allocations: 0.7001 MB / 0.6525 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5287, allocations: 4 kB / 0.6525 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002467/0.5312, allocations: 0.5547 MB / 0.653 GB, free: 2.023 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.00973/0.5409, allocations: 4.933 MB / 0.6578 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006865/0.5478, allocations: 2.67 MB / 0.6604 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.5479, allocations: 0 / 0.6604 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004126/0.552, allocations: 1.411 MB / 0.6618 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003162/0.5552, allocations: 406.1 kB / 0.6622 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03636/0.5916, allocations: 17.71 MB / 0.6795 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001827/0.5935, allocations: 1.407 MB / 0.6809 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001954/0.5954, allocations: 460.7 kB / 0.6813 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/0.5967, allocations: 0.6437 MB / 0.6819 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/0.5967, allocations: 0 / 0.6819 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08645/0.6832, allocations: 43.31 MB / 0.7242 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/14.86, allocations: 15.64 kB / 0.7242 GB, free: 7.828 MB / 0.5762 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)