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.001802/0.001803, allocations: 180.8 kB / 16.38 MB, free: 5.766 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.993/1.993, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001395/0.001395, allocations: 96.08 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5402/0.5402, allocations: 48.78 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004223/0.0004223, allocations: 15.98 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1519, allocations: 60.24 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.076/8.228, allocations: 2.913 GB / 3.4 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/8.229, allocations: 85.5 kB / 3.4 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.649/9.877, allocations: 358.2 MB / 3.75 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.244e-06/9.877, allocations: 0 / 3.75 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.504e-05/9.877, allocations: 14.28 kB / 3.75 GB, free: 58.91 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.006409/9.884, allocations: 1.316 MB / 3.751 GB, free: 58.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/9.884, allocations: 9.219 kB / 3.751 GB, free: 58.16 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/9.884, allocations: 80.36 kB / 3.751 GB, free: 58.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008611/9.885, allocations: 147 kB / 3.752 GB, free: 58.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006662/9.886, allocations: 405.1 kB / 3.752 GB, free: 57.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/9.886, allocations: 20.41 kB / 3.752 GB, free: 57.85 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-05/9.886, allocations: 39.45 kB / 3.752 GB, free: 57.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008839/9.887, allocations: 0.5492 MB / 3.753 GB, free: 57.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/9.887, allocations: 3.094 kB / 3.753 GB, free: 57.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/9.887, allocations: 17.19 kB / 3.753 GB, free: 57.64 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/9.887, allocations: 9.469 kB / 3.753 GB, free: 57.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006036/9.887, allocations: 316.8 kB / 3.753 GB, free: 57.64 MB / 0.5105 GB 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.002287/9.89, allocations: 2.547 MB / 3.755 GB, free: 55.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006098/9.89, allocations: 290.3 kB / 3.756 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1886/10.08, allocations: 93.6 MB / 3.847 GB, free: 29.64 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/10.08, allocations: 330.2 kB / 3.847 GB, free: 29.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 4.749e-06/10.08, allocations: 0 / 3.847 GB, free: 29.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36): time 0.005016/10.09, allocations: 1.969 MB / 3.849 GB, free: 28.66 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/10.09, allocations: 139.7 kB / 3.849 GB, free: 28.51 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006764/10.09, allocations: 349.1 kB / 3.85 GB, free: 28.39 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.507e-05/10.09, allocations: 35.23 kB / 3.85 GB, free: 28.36 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/10.09, allocations: 244.8 kB / 3.85 GB, free: 28.23 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/10.09, allocations: 108.4 kB / 3.85 GB, free: 28.17 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/10.09, allocations: 6.844 kB / 3.85 GB, free: 28.17 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002041/10.09, allocations: 359.5 kB / 3.85 GB, free: 27.86 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/10.09, allocations: 149.5 kB / 3.851 GB, free: 27.85 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/10.09, allocations: 230.3 kB / 3.851 GB, free: 27.77 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/10.09, allocations: 221.9 kB / 3.851 GB, free: 27.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/10.09, allocations: 3.625 kB / 3.851 GB, free: 27.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001196/10.09, allocations: 0.6692 MB / 3.852 GB, free: 27.55 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.097e-05/10.09, allocations: 69.97 kB / 3.852 GB, free: 27.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/10.09, allocations: 3.938 kB / 3.852 GB, free: 27.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/10.09, allocations: 156 kB / 3.852 GB, free: 27.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/10.09, allocations: 54.33 kB / 3.852 GB, free: 27.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/10.09, allocations: 1.133 MB / 3.853 GB, free: 26.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/10.09, allocations: 41.28 kB / 3.853 GB, free: 26.42 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/10.09, allocations: 21.75 kB / 3.853 GB, free: 26.42 MB / 0.5417 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 () * Number of clocked 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.0004145/10.09, allocations: 250.5 kB / 3.853 GB, free: 26.24 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/10.09, allocations: 55.02 kB / 3.853 GB, free: 26.21 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/10.09, allocations: 1.61 MB / 3.855 GB, free: 25.97 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.508e-05/10.09, allocations: 22.7 kB / 3.855 GB, free: 25.97 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/10.09, allocations: 4 kB / 3.855 GB, free: 25.96 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/10.09, allocations: 0 / 3.855 GB, free: 25.96 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009293/10.1, allocations: 0.7432 MB / 3.856 GB, free: 25.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/10.1, allocations: 8.188 kB / 3.856 GB, free: 25.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/10.1, allocations: 41.45 kB / 3.856 GB, free: 25.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007626/10.1, allocations: 366.1 kB / 3.856 GB, free: 25.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/10.1, allocations: 17.94 kB / 3.856 GB, free: 25.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/10.1, allocations: 1.329 MB / 3.857 GB, free: 24.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/10.1, allocations: 8.109 kB / 3.857 GB, free: 24.66 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/10.1, allocations: 1.771 MB / 3.859 GB, free: 24.41 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004468/10.1, allocations: 194 kB / 3.859 GB, free: 24.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/10.1, allocations: 10.41 kB / 3.859 GB, free: 24.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/10.1, allocations: 32.08 kB / 3.859 GB, free: 24.27 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.302e-05/10.1, allocations: 19.03 kB / 3.859 GB, free: 24.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.668e-05/10.1, allocations: 23.7 kB / 3.859 GB, free: 24.27 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004662/10.1, allocations: 279.1 kB / 3.86 GB, free: 24.18 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/10.1, allocations: 0 / 3.86 GB, free: 24.18 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007847/10.11, allocations: 1.164 MB / 3.861 GB, free: 23.99 MB / 0.5417 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) * Number of clocked states: 0 () * 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.01642/10.13, allocations: 3.713 MB / 3.865 GB, free: 38.93 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001696/10.13, allocations: 0.7286 MB / 3.865 GB, free: 38.79 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/10.13, allocations: 0 / 3.865 GB, free: 38.79 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009328/10.13, allocations: 0.5989 MB / 3.866 GB, free: 38.66 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/10.13, allocations: 177 kB / 3.866 GB, free: 38.64 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/10.14, allocations: 5.154 MB / 3.871 GB, free: 35.98 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009213/10.15, allocations: 0.9273 MB / 3.872 GB, free: 35.27 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004915/10.15, allocations: 91.11 kB / 3.872 GB, free: 35.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/10.15, allocations: 214.8 kB / 3.872 GB, free: 35.26 MB / 0.5573 GB Notification: Performance of SimCode: time 2.785e-06/10.15, allocations: 0 / 3.872 GB, free: 35.26 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0959/10.24, allocations: 43.9 MB / 3.915 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/10.24, allocations: 212.3 kB / 3.915 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.758/14, allocations: 0 / 3.915 GB, free: 14.91 MB / 0.5573 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)