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.001077/0.001077, allocations: 104.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 207.1 kB / 16.79 MB, free: 6.84 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.424/1.424, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.5531/0.5531, allocations: 64.93 MB / 355.5 MB, free: 4.801 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 60.06 kB / 429.9 MB, free: 39.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1334, allocations: 63.54 MB / 493.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.008368/0.1418, allocations: 7.433 MB / 0.4892 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006147/0.148, allocations: 4.353 MB / 0.4934 GB, free: 5.672 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000963/0.149, allocations: 4 kB / 0.4934 GB, free: 5.668 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.1505, allocations: 0.517 MB / 0.4939 GB, free: 5.148 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.1522, allocations: 0.6758 MB / 0.4946 GB, free: 4.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.1533, allocations: 487.5 kB / 0.495 GB, free: 3.992 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003462/0.1568, allocations: 3.172 MB / 0.4981 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009849/0.1578, allocations: 0.6211 MB / 0.4987 GB, free: 180 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.1591, allocations: 0.7086 MB / 0.4994 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.1607, allocations: 1.031 MB / 0.5004 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.1609, allocations: 80 kB / 0.5005 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000307/0.1612, allocations: 80 kB / 0.5006 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005998/0.1618, allocations: 0.6777 MB / 0.5013 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.1629, allocations: 0.9368 MB / 0.5022 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002529/0.1654, allocations: 2.917 MB / 0.505 GB, free: 9.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1654, allocations: 4 kB / 0.505 GB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1654, allocations: 0 / 0.505 GB, free: 9.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.538e-05/0.1655, allocations: 0 / 0.505 GB, free: 9.723 MB / 382.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.004774/0.1703, allocations: 2.155 MB / 0.5071 GB, free: 7.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.1703, allocations: 8.031 kB / 0.5071 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004916/0.1708, allocations: 292.1 kB / 0.5074 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003455/0.1712, allocations: 194.7 kB / 0.5076 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.1726, allocations: 0.7551 MB / 0.5083 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.1727, allocations: 152.3 kB / 0.5085 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008183/0.1735, allocations: 268.4 kB / 0.5087 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004713/0.1782, allocations: 2.731 MB / 0.5114 GB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.211e-05/0.1783, allocations: 7.938 kB / 0.5114 GB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/0.1785, allocations: 83.98 kB / 0.5115 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002111/0.1787, allocations: 151.5 kB / 0.5116 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004006/0.1827, allocations: 2.18 MB / 0.5138 GB, free: 476 kB / 382.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.01365/0.1964, allocations: 10.81 MB / 0.5243 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003081/0.1995, allocations: 2.784 MB / 0.527 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.2007, allocations: 0.6444 MB / 0.5277 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.2008, allocations: 29 kB / 0.5277 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.2009, allocations: 47.56 kB / 0.5277 GB, free: 1.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 2.665e-06/0.2009, allocations: 0 / 0.5277 GB, free: 1.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=140): time 0.02234/0.2232, allocations: 7.592 MB / 0.5352 GB, free: 9.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005977/0.2293, allocations: 3.888 MB / 0.539 GB, free: 5.191 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002279/0.2316, allocations: 1.098 MB / 0.54 GB, free: 4.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004415/0.232, allocations: 45.7 kB / 0.5401 GB, free: 4.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009809/0.233, allocations: 0.9318 MB / 0.541 GB, free: 3.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001033/0.2341, allocations: 0.493 MB / 0.5415 GB, free: 2.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001387/0.2355, allocations: 440.2 kB / 0.5419 GB, free: 2.133 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.2357, allocations: 345.9 kB / 0.5422 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/0.2375, allocations: 0.9181 MB / 0.5431 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002671/0.2401, allocations: 1.879 MB / 0.5449 GB, free: 14.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004329/0.2445, allocations: 2.947 MB / 0.5478 GB, free: 11.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.069e-05/0.2445, allocations: 12 kB / 0.5478 GB, free: 11.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009018/0.2535, allocations: 3.695 MB / 0.5514 GB, free: 7.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.2536, allocations: 20 kB / 0.5515 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.332e-05/0.2537, allocations: 36.86 kB / 0.5515 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00452/0.2582, allocations: 0.982 MB / 0.5525 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003009/0.2612, allocations: 0.5615 MB / 0.553 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/0.2721, allocations: 6.251 MB / 0.5591 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/0.2748, allocations: 223.5 kB / 0.5593 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002454/0.2751, allocations: 124 kB / 0.5594 GB, free: 15.01 MB / 446.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.001049/0.2761, allocations: 0.5647 MB / 0.56 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/0.2765, allocations: 126.5 kB / 0.5601 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007951/0.2844, allocations: 2.867 MB / 0.5629 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007256/0.2917, allocations: 2.48 MB / 0.5653 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.489e-05/0.2918, allocations: 8 kB / 0.5653 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.101e-05/0.2918, allocations: 11.91 kB / 0.5654 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01601/0.3078, allocations: 6.094 MB / 0.5713 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.027e-05/0.3079, allocations: 4.719 kB / 0.5713 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002104/0.31, allocations: 287.5 kB / 0.5716 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005802/0.3158, allocations: 1.199 MB / 0.5728 GB, free: 1.129 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003878/0.3163, allocations: 39.98 kB / 0.5728 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01001/0.3263, allocations: 5.97 MB / 0.5786 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005766/0.3321, allocations: 3.751 MB / 0.5823 GB, free: 6.871 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/0.3435, allocations: 4.341 MB / 0.5865 GB, free: 2.438 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009071/0.3445, allocations: 211.6 kB / 0.5867 GB, free: 2.211 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005218/0.345, allocations: 47.92 kB / 0.5868 GB, free: 2.164 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/0.347, allocations: 135.8 kB / 0.5869 GB, free: 2.031 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004422/0.3475, allocations: 120.6 kB / 0.587 GB, free: 1.914 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.3477, allocations: 47.97 kB / 0.5871 GB, free: 1.867 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001367/0.349, allocations: 0.7001 MB / 0.5877 GB, free: 1.156 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.753e-06/0.349, allocations: 0 / 0.5877 GB, free: 1.156 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003035/0.3521, allocations: 0.582 MB / 0.5883 GB, free: 0.5742 MB / 462.1 MB 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.3291/0.6812, allocations: 4.923 MB / 0.5931 GB, free: 95.38 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006656/0.6879, allocations: 2.652 MB / 0.5957 GB, free: 95.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/0.6879, allocations: 0.875 kB / 0.5957 GB, free: 95.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004103/0.6921, allocations: 1.387 MB / 0.5971 GB, free: 94.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/0.6949, allocations: 382.2 kB / 0.5974 GB, free: 94.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0328/0.7277, allocations: 19.31 MB / 0.6163 GB, free: 84.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009381/0.7287, allocations: 1.42 MB / 0.6177 GB, free: 83.63 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00182/0.7305, allocations: 451.9 kB / 0.6181 GB, free: 83.56 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008196/0.7314, allocations: 0.6475 MB / 0.6187 GB, free: 83.06 MB / 462.1 MB Notification: Performance of SimCode: time 7.91e-07/0.7314, allocations: 0 / 0.6187 GB, free: 83.06 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1044/0.8357, allocations: 40.97 MB / 0.6588 GB, free: 43.47 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/0.8359, allocations: 244.9 kB / 0.659 GB, free: 43.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.303/4.139, allocations: 0 / 0.659 GB, free: 43.2 MB / 462.1 MB (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)