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.001487/0.001487, allocations: 110.2 kB / 16.41 MB, free: 6.5 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.001685/0.001685, allocations: 193.2 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.362/0.362, allocations: 64.93 MB / 356.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001383, allocations: 63.91 kB / 494.8 MB, free: 5.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3722, allocations: 63.54 MB / 0.5452 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.008087/0.3803, allocations: 7.39 MB / 0.5524 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006653/0.387, allocations: 4.381 MB / 0.5567 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.3882, allocations: 11.94 kB / 0.5567 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.39, allocations: 0.5475 MB / 0.5573 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.3923, allocations: 0.7103 MB / 0.558 GB, free: 4.305 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.3937, allocations: 0.5267 MB / 0.5585 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003495/0.3972, allocations: 2.45 MB / 0.5609 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.3986, allocations: 0.7421 MB / 0.5616 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.4004, allocations: 0.853 MB / 0.5624 GB, free: 15.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002/0.4024, allocations: 1.051 MB / 0.5635 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006289/0.4031, allocations: 215.9 kB / 0.5637 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007958/0.4039, allocations: 204 kB / 0.5639 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.405, allocations: 0.8027 MB / 0.5646 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.4064, allocations: 1.085 MB / 0.5657 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002683/0.4091, allocations: 3.072 MB / 0.5687 GB, free: 9.262 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4091, allocations: 0 / 0.5687 GB, free: 9.262 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.4091, allocations: 0 / 0.5687 GB, free: 9.262 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.118e-05/0.4092, allocations: 3.938 kB / 0.5687 GB, free: 9.258 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.004237/0.4134, allocations: 2.159 MB / 0.5708 GB, free: 7.043 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.4135, allocations: 12.03 kB / 0.5708 GB, free: 7.031 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003404/0.4138, allocations: 296 kB / 0.5711 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003028/0.4141, allocations: 198.6 kB / 0.5713 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.4153, allocations: 0.7474 MB / 0.572 GB, free: 5.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.4154, allocations: 148.3 kB / 0.5722 GB, free: 5.598 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006782/0.4161, allocations: 268.4 kB / 0.5724 GB, free: 5.336 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003838/0.4199, allocations: 2.727 MB / 0.5751 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/0.42, allocations: 7.938 kB / 0.5751 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.4201, allocations: 83.98 kB / 0.5752 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001668/0.4203, allocations: 155.4 kB / 0.5753 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004195/0.4245, allocations: 2.176 MB / 0.5774 GB, free: 0 / 430.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.01334/0.4379, allocations: 10.81 MB / 0.588 GB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/0.4406, allocations: 2.778 MB / 0.5907 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.4417, allocations: 0.6404 MB / 0.5913 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.313e-05/0.4418, allocations: 17 kB / 0.5913 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.4418, allocations: 55.48 kB / 0.5914 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of pre-optimization done (n=115): time 3.256e-06/0.4418, allocations: 0 / 0.5914 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02083/0.4627, allocations: 7.593 MB / 0.5988 GB, free: 8.969 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00512/0.4678, allocations: 4.109 MB / 0.6028 GB, free: 4.508 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.4696, allocations: 1.086 MB / 0.6039 GB, free: 3.398 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003154/0.47, allocations: 49.7 kB / 0.6039 GB, free: 3.344 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007017/0.4707, allocations: 0.9317 MB / 0.6048 GB, free: 2.395 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007001/0.4714, allocations: 0.4931 MB / 0.6053 GB, free: 1.895 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009571/0.4724, allocations: 436.2 kB / 0.6057 GB, free: 1.461 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4725, allocations: 341.9 kB / 0.6061 GB, free: 1.121 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/0.4743, allocations: 0.9221 MB / 0.607 GB, free: 200 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002854/0.4772, allocations: 1.882 MB / 0.6088 GB, free: 13.85 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004885/0.4821, allocations: 2.947 MB / 0.6117 GB, free: 10.45 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.554e-05/0.4821, allocations: 15.94 kB / 0.6117 GB, free: 10.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009988/0.4921, allocations: 3.688 MB / 0.6153 GB, free: 6.723 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.123e-05/0.4922, allocations: 24.88 kB / 0.6153 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.148e-05/0.4923, allocations: 35.98 kB / 0.6154 GB, free: 6.664 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004721/0.497, allocations: 0.9893 MB / 0.6163 GB, free: 5.668 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003295/0.5003, allocations: 0.5538 MB / 0.6169 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/0.5138, allocations: 6.676 MB / 0.6234 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/0.5164, allocations: 163.8 kB / 0.6235 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005972/0.517, allocations: 120 kB / 0.6237 GB, free: 13.97 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.001577/0.5186, allocations: 0.5604 MB / 0.6242 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004574/0.5191, allocations: 130.4 kB / 0.6243 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008768/0.5278, allocations: 2.859 MB / 0.6271 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007759/0.5356, allocations: 2.503 MB / 0.6296 GB, free: 7.859 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.639e-05/0.5357, allocations: 4 kB / 0.6296 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.331e-05/0.5357, allocations: 7.984 kB / 0.6296 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/0.5512, allocations: 6.068 MB / 0.6355 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-05/0.5513, allocations: 4.625 kB / 0.6355 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/0.5532, allocations: 279.6 kB / 0.6358 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005433/0.5586, allocations: 1.204 MB / 0.637 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002839/0.5589, allocations: 43.97 kB / 0.637 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/0.5694, allocations: 6.311 MB / 0.6432 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005445/0.5749, allocations: 3.971 MB / 0.647 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/0.5852, allocations: 4.343 MB / 0.6513 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004632/0.5857, allocations: 215.8 kB / 0.6515 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000361/0.5861, allocations: 32 kB / 0.6515 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.5876, allocations: 79.91 kB / 0.6516 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003606/0.588, allocations: 120.7 kB / 0.6517 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/0.5881, allocations: 55.91 kB / 0.6518 GB, free: 320 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001149/0.5893, allocations: 0.7001 MB / 0.6524 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5893, allocations: 0 / 0.6524 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002639/0.5919, allocations: 0.5548 MB / 0.653 GB, free: 15.05 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.01186/0.6038, allocations: 4.929 MB / 0.6578 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006916/0.6108, allocations: 2.677 MB / 0.6604 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/0.6108, allocations: 4.188 kB / 0.6604 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003981/0.6148, allocations: 1.396 MB / 0.6618 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002991/0.6178, allocations: 409.5 kB / 0.6622 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03635/0.6542, allocations: 17.71 MB / 0.6795 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001899/0.6561, allocations: 1.415 MB / 0.6808 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001723/0.6579, allocations: 452.7 kB / 0.6813 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/0.659, allocations: 0.6438 MB / 0.6819 GB, free: 15.86 MB / 0.545 GB Notification: Performance of SimCode: time 8.42e-07/0.6591, allocations: 0 / 0.6819 GB, free: 15.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3471/1.006, allocations: 44.03 MB / 0.7249 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/15.32, allocations: 7.484 kB / 0.7249 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)