Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestBarometricCondenser,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestBarometricCondenser,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001878/0.001878, allocations: 175.4 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.2 MB / 219.4 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008182/0.0008182, allocations: 90.64 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3171/0.3171, allocations: 48.78 MB / 364.3 MB, free: 6.875 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.767e-05/3.769e-05, allocations: 7.938 kB / 432.6 MB, free: 16.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1436, allocations: 60.26 MB / 492.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.33/9.474, allocations: 2.913 GB / 3.394 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/9.474, allocations: 83.69 kB / 3.394 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.52/10.99, allocations: 356.8 MB / 3.743 GB, free: 61.79 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.853e-06/10.99, allocations: 0 / 3.743 GB, free: 61.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.505e-05/10.99, allocations: 7.656 kB / 3.743 GB, free: 61.79 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.005089/11, allocations: 1.266 MB / 3.744 GB, free: 60.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/11, allocations: 11.78 kB / 3.744 GB, free: 60.91 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.411e-05/11, allocations: 72.56 kB / 3.744 GB, free: 60.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008979/11, allocations: 151.7 kB / 3.744 GB, free: 60.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006331/11, allocations: 390.9 kB / 3.745 GB, free: 60.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/11, allocations: 24.69 kB / 3.745 GB, free: 60.52 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/11, allocations: 46.05 kB / 3.745 GB, free: 60.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008391/11, allocations: 0.5528 MB / 3.745 GB, free: 60.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/11, allocations: 0 / 3.745 GB, free: 60.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/11, allocations: 14.88 kB / 3.745 GB, free: 60.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/11, allocations: 7.906 kB / 3.745 GB, free: 60.17 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005648/11, allocations: 329.5 kB / 3.745 GB, free: 60.07 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.002173/11, allocations: 2.548 MB / 3.748 GB, free: 57.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005299/11.01, allocations: 300.9 kB / 3.748 GB, free: 57.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/11.01, allocations: 164.5 kB / 3.748 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5215/11.53, allocations: 93.9 MB / 3.84 GB, free: 81.69 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008523/11.53, allocations: 335.1 kB / 3.84 GB, free: 81.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 3.957e-06/11.53, allocations: 5.625 kB / 3.84 GB, free: 81.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.004092/11.53, allocations: 1.601 MB / 3.842 GB, free: 81.08 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/11.53, allocations: 142.2 kB / 3.842 GB, free: 80.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000534/11.53, allocations: 350 kB / 3.842 GB, free: 80.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/11.53, allocations: 32.3 kB / 3.842 GB, free: 80.78 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/11.53, allocations: 244.8 kB / 3.843 GB, free: 80.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/11.53, allocations: 111 kB / 3.843 GB, free: 80.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/11.53, allocations: 7.812 kB / 3.843 GB, free: 80.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000118/11.53, allocations: 362.5 kB / 3.843 GB, free: 80.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/11.53, allocations: 144.6 kB / 3.843 GB, free: 80.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/11.53, allocations: 226.9 kB / 3.844 GB, free: 80.22 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/11.53, allocations: 222.7 kB / 3.844 GB, free: 80.15 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/11.53, allocations: 3.906 kB / 3.844 GB, free: 80.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001125/11.54, allocations: 0.6602 MB / 3.844 GB, free: 80.01 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.12e-05/11.54, allocations: 69.92 kB / 3.844 GB, free: 79.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/11.54, allocations: 2.688 kB / 3.844 GB, free: 79.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/11.54, allocations: 159.1 kB / 3.845 GB, free: 79.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/11.54, allocations: 59.06 kB / 3.845 GB, free: 79.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007564/11.54, allocations: 1.128 MB / 3.846 GB, free: 78.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/11.54, allocations: 36.98 kB / 3.846 GB, free: 78.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/11.54, allocations: 22.56 kB / 3.846 GB, free: 78.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,$PRE.steamFlowRate.nextEvent,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled,tank.liquidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001525/11.54, allocations: 203.4 kB / 3.846 GB, free: 78.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-05/11.54, allocations: 49.66 kB / 3.846 GB, free: 78.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/11.54, allocations: 1.675 MB / 3.848 GB, free: 78.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/11.54, allocations: 21 kB / 3.848 GB, free: 78.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/11.54, allocations: 0 / 3.848 GB, free: 78.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/11.54, allocations: 5.859 kB / 3.848 GB, free: 78.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009879/11.54, allocations: 0.7448 MB / 3.848 GB, free: 78.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/11.54, allocations: 1.781 kB / 3.848 GB, free: 78.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/11.54, allocations: 43.58 kB / 3.848 GB, free: 78.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008723/11.54, allocations: 434.9 kB / 3.849 GB, free: 78.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.68e-05/11.54, allocations: 22.92 kB / 3.849 GB, free: 78.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000838/11.54, allocations: 1.332 MB / 3.85 GB, free: 77.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/11.54, allocations: 0 / 3.85 GB, free: 77.19 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/11.55, allocations: 1.824 MB / 3.852 GB, free: 76.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002901/11.55, allocations: 200.4 kB / 3.852 GB, free: 76.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.897e-05/11.55, allocations: 7.875 kB / 3.852 GB, free: 76.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/11.55, allocations: 32.7 kB / 3.852 GB, free: 76.81 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/11.55, allocations: 22.22 kB / 3.852 GB, free: 76.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/11.55, allocations: 24.52 kB / 3.852 GB, free: 76.81 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003475/11.55, allocations: 273.5 kB / 3.853 GB, free: 76.72 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/11.55, allocations: 2.078 kB / 3.853 GB, free: 76.72 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005552/11.55, allocations: 1.158 MB / 3.854 GB, free: 76.72 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h) * Number of discrete variables: 22 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled) * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01028/11.56, allocations: 3.701 MB / 3.857 GB, free: 75.94 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001332/11.56, allocations: 0.7296 MB / 3.858 GB, free: 75.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/11.56, allocations: 0 / 3.858 GB, free: 75.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006141/11.56, allocations: 0.5912 MB / 3.859 GB, free: 75.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/11.57, allocations: 168.9 kB / 3.859 GB, free: 75.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005113/11.57, allocations: 1.666 MB / 3.86 GB, free: 75.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/11.57, allocations: 0.9236 MB / 3.861 GB, free: 74.64 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002804/11.57, allocations: 96.17 kB / 3.861 GB, free: 74.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/11.57, allocations: 214.8 kB / 3.862 GB, free: 74.63 MB / 0.5261 GB Notification: Performance of SimCode: time 1.383e-06/11.57, allocations: 1.406 kB / 3.862 GB, free: 74.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07525/11.65, allocations: 46.61 MB / 3.907 GB, free: 72.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/11.65, allocations: 178.2 kB / 3.907 GB, free: 72.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.212/14.86, allocations: 0 / 3.907 GB, free: 72.41 MB / 0.5261 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1)