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.001349/0.001349, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 87.8 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5848/0.5848, allocations: 48.78 MB / 358.8 MB, free: 53.16 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.109e-05/2.111e-05, allocations: 4.219 kB / 425.4 MB, free: 8.137 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1509, allocations: 60.26 MB / 485.6 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.82/8.971, allocations: 2.912 GB / 3.386 GB, free: 134.8 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000445/8.971, allocations: 77.52 kB / 3.386 GB, free: 134.8 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.181/10.15, allocations: 353.5 MB / 3.732 GB, free: 20.5 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.533e-06/10.15, allocations: 0 / 3.732 GB, free: 20.5 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 3.82e-05/10.15, allocations: 12 kB / 3.732 GB, free: 20.49 MB / 0.5108 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.00629/10.16, allocations: 1.263 MB / 3.733 GB, free: 19.17 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/10.16, allocations: 8.031 kB / 3.733 GB, free: 19.16 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009451/10.16, allocations: 160 kB / 3.733 GB, free: 19.01 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006559/10.16, allocations: 395 kB / 3.733 GB, free: 18.6 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/10.16, allocations: 8 kB / 3.734 GB, free: 18.59 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/10.16, allocations: 24.34 kB / 3.734 GB, free: 18.57 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004237/10.16, allocations: 241.5 kB / 3.734 GB, free: 18.33 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005821/10.16, allocations: 463.6 kB / 3.734 GB, free: 17.82 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/10.16, allocations: 3.938 kB / 3.734 GB, free: 17.81 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/10.16, allocations: 4 kB / 3.734 GB, free: 17.81 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/10.16, allocations: 8 kB / 3.734 GB, free: 17.8 MB / 0.5108 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.002109/10.16, allocations: 2.465 MB / 3.737 GB, free: 15.12 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/10.16, allocations: 234.8 kB / 3.737 GB, free: 14.89 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/10.16, allocations: 149 kB / 3.737 GB, free: 14.74 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5941/10.76, allocations: 93.89 MB / 3.829 GB, free: 24.16 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006163/10.76, allocations: 263 kB / 3.829 GB, free: 24.05 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=32): time 3.256e-06/10.76, allocations: 0 / 3.829 GB, free: 24.05 MB / 0.5265 GB Notification: Performance of matching and sorting (n=36): time 0.004573/10.76, allocations: 1.398 MB / 3.83 GB, free: 23.72 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/10.76, allocations: 143 kB / 3.83 GB, free: 23.56 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/10.76, allocations: 293.8 kB / 3.831 GB, free: 23.46 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/10.76, allocations: 29.36 kB / 3.831 GB, free: 23.43 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/10.77, allocations: 242.5 kB / 3.831 GB, free: 23.31 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/10.77, allocations: 110.6 kB / 3.831 GB, free: 23.26 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/10.77, allocations: 0 / 3.831 GB, free: 23.26 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001966/10.77, allocations: 352.9 kB / 3.831 GB, free: 22.95 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/10.77, allocations: 135.5 kB / 3.832 GB, free: 22.95 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/10.77, allocations: 213.9 kB / 3.832 GB, free: 22.86 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006524/10.77, allocations: 191.3 kB / 3.832 GB, free: 22.86 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/10.77, allocations: 3.312 kB / 3.832 GB, free: 22.86 MB / 0.5265 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001491/10.77, allocations: 0.6019 MB / 3.833 GB, free: 22.78 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 9.565e-05/10.77, allocations: 68.39 kB / 3.833 GB, free: 22.72 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/10.77, allocations: 3.719 kB / 3.833 GB, free: 22.72 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003905/10.77, allocations: 87.19 kB / 3.833 GB, free: 22.7 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/10.77, allocations: 53.08 kB / 3.833 GB, free: 22.7 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/10.77, allocations: 1.179 MB / 3.834 GB, free: 21.65 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003969/10.77, allocations: 25.42 kB / 3.834 GB, free: 21.65 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/10.77, allocations: 28.88 kB / 3.834 GB, free: 21.65 MB / 0.5265 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.0002228/10.77, allocations: 190 kB / 3.834 GB, free: 21.48 MB / 0.5265 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001403/10.77, allocations: 0.5603 MB / 3.835 GB, free: 21.4 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/10.77, allocations: 42.28 kB / 3.835 GB, free: 21.38 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003702/10.78, allocations: 1.617 MB / 3.836 GB, free: 37.19 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-05/10.78, allocations: 24.84 kB / 3.836 GB, free: 37.19 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/10.78, allocations: 2.703 kB / 3.836 GB, free: 37.19 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/10.78, allocations: 3.609 kB / 3.836 GB, free: 37.19 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009234/10.78, allocations: 0.6555 MB / 3.837 GB, free: 37.01 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/10.78, allocations: 2.516 kB / 3.837 GB, free: 37.01 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/10.78, allocations: 43.09 kB / 3.837 GB, free: 37.01 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006457/10.78, allocations: 424.6 kB / 3.837 GB, free: 36.97 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/10.78, allocations: 11.64 kB / 3.837 GB, free: 36.97 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/10.78, allocations: 1.391 MB / 3.839 GB, free: 35.93 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/10.78, allocations: 0.5156 kB / 3.839 GB, free: 35.93 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/10.78, allocations: 1.765 MB / 3.84 GB, free: 35.73 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/10.78, allocations: 193.5 kB / 3.841 GB, free: 35.61 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-05/10.78, allocations: 8.359 kB / 3.841 GB, free: 35.61 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/10.78, allocations: 21.69 kB / 3.841 GB, free: 35.6 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/10.78, allocations: 21.16 kB / 3.841 GB, free: 35.6 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.56e-05/10.78, allocations: 21.98 kB / 3.841 GB, free: 35.6 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0002716/10.78, allocations: 222.6 kB / 3.841 GB, free: 35.52 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.3e-07/10.78, allocations: 0 / 3.841 GB, free: 35.52 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.005587/10.79, allocations: 1.127 MB / 3.842 GB, free: 35.52 MB / 0.5421 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.01302/10.8, allocations: 3.781 MB / 3.846 GB, free: 34.72 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001913/10.8, allocations: 0.6989 MB / 3.846 GB, free: 34.58 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/10.8, allocations: 0 / 3.846 GB, free: 34.58 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0009886/10.8, allocations: 0.5798 MB / 3.847 GB, free: 34.45 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/10.81, allocations: 128.1 kB / 3.847 GB, free: 34.45 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007074/10.81, allocations: 1.626 MB / 3.849 GB, free: 34.03 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/10.81, allocations: 0.9236 MB / 3.85 GB, free: 33.32 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0002867/10.81, allocations: 91.72 kB / 3.85 GB, free: 33.3 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/10.81, allocations: 225.3 kB / 3.85 GB, free: 33.29 MB / 0.5421 GB Notification: Performance of SimCode: time 1.152e-06/10.81, allocations: 2.438 kB / 3.85 GB, free: 33.29 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07716/10.89, allocations: 37.34 MB / 3.886 GB, free: 31.21 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002708/10.89, allocations: 154.1 kB / 3.887 GB, free: 31.02 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.065/13.96, allocations: 0 / 3.887 GB, free: 31.02 MB / 0.5421 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)