Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.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 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 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 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(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestExpansionTankIdeal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestExpansionTankIdeal",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.0007482/0.0007483, allocations: 90.03 kB / 16.31 MB, free: 5.539 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.0007777/0.0007778, allocations: 183.6 kB / 17.21 MB, free: 5.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.4 MB / 223.4 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.321/0.321, allocations: 48.76 MB / 320.4 MB, free: 11.23 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005369/0.0005371, allocations: 17.31 kB / 391.3 MB, free: 50.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1114, allocations: 60.27 MB / 451.5 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal): time 0.04709/0.1585, allocations: 42.16 MB / 493.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0138/0.1724, allocations: 10.81 MB / 0.4927 GB, free: 4.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008109/0.1732, allocations: 15.88 kB / 0.4927 GB, free: 4.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.1743, allocations: 270.4 kB / 0.493 GB, free: 4.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.1757, allocations: 0.6259 MB / 0.4936 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01007/0.1858, allocations: 3.243 MB / 0.4967 GB, free: 156 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0028/0.1886, allocations: 2.343 MB / 0.499 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007334/0.1893, allocations: 427 kB / 0.4994 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.1904, allocations: 0.5682 MB / 0.5 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009628/0.1914, allocations: 0.72 MB / 0.5007 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.851e-05/0.1915, allocations: 36 kB / 0.5007 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01176/0.2032, allocations: 6.013 MB / 0.5066 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006717/0.2039, allocations: 275.2 kB / 0.5069 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000475/0.2044, allocations: 201.2 kB / 0.507 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00621/0.2106, allocations: 2.927 MB / 0.5099 GB, free: 2.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.2107, allocations: 0 / 0.5099 GB, free: 2.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.2107, allocations: 0 / 0.5099 GB, free: 2.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.2107, allocations: 4 kB / 0.5099 GB, free: 2.609 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004445/0.2152, allocations: 1.501 MB / 0.5114 GB, free: 1.059 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.2153, allocations: 12.03 kB / 0.5114 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001578/0.2154, allocations: 122.4 kB / 0.5115 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009801/0.2164, allocations: 198.8 kB / 0.5117 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.2174, allocations: 0.5647 MB / 0.5122 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/0.2175, allocations: 53.98 kB / 0.5123 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.2176, allocations: 76.03 kB / 0.5124 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004177/0.2218, allocations: 1.726 MB / 0.5141 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.2219, allocations: 0 / 0.5141 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.119e-05/0.2219, allocations: 28 kB / 0.5141 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.409e-05/0.222, allocations: 33.98 kB / 0.5141 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003907/0.2259, allocations: 1.639 MB / 0.5157 GB, free: 12.55 MB / 414.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.005593/0.2315, allocations: 3.657 MB / 0.5193 GB, free: 8.527 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/0.2345, allocations: 1.184 MB / 0.5204 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004609/0.2349, allocations: 302.4 kB / 0.5207 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3206/0.5555, allocations: 64.57 MB / 0.5838 GB, free: 37.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.5556, allocations: 47.64 kB / 0.5838 GB, free: 37.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 2.635e-06/0.5556, allocations: 0 / 0.5838 GB, free: 37.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=56): time 0.005397/0.561, allocations: 2.106 MB / 0.5859 GB, free: 35.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.5611, allocations: 59.97 kB / 0.5859 GB, free: 35.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004942/0.5616, allocations: 0.5248 MB / 0.5865 GB, free: 34.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.184e-05/0.5617, allocations: 33.7 kB / 0.5865 GB, free: 34.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.5619, allocations: 355.4 kB / 0.5868 GB, free: 34.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.562, allocations: 197.8 kB / 0.587 GB, free: 34.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.107e-05/0.5621, allocations: 12 kB / 0.587 GB, free: 34.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.153e-05/0.5622, allocations: 374.8 kB / 0.5874 GB, free: 33.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006766/0.5629, allocations: 0.5049 MB / 0.5879 GB, free: 33.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007334/0.5636, allocations: 0.6444 MB / 0.5885 GB, free: 32.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007287/0.5644, allocations: 0.537 MB / 0.589 GB, free: 31.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.5644, allocations: 0 / 0.589 GB, free: 31.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00271/0.5671, allocations: 1.847 MB / 0.5908 GB, free: 30.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.658e-05/0.5672, allocations: 171.8 kB / 0.591 GB, free: 29.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.5672, allocations: 8 kB / 0.591 GB, free: 29.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00359/0.5708, allocations: 1.608 MB / 0.5926 GB, free: 28.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.5711, allocations: 67.89 kB / 0.5926 GB, free: 28.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/0.5737, allocations: 2.191 MB / 0.5948 GB, free: 25.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008567/0.5746, allocations: 119.3 kB / 0.5949 GB, free: 25.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.5747, allocations: 79.91 kB / 0.595 GB, free: 25.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.5747, allocations: 4 kB / 0.595 GB, free: 25.75 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002609/0.5773, allocations: 1.753 MB / 0.5967 GB, free: 24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.5774, allocations: 3.984 kB / 0.5967 GB, free: 24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002678/0.5801, allocations: 1.487 MB / 0.5981 GB, free: 22.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.5803, allocations: 80.38 kB / 0.5982 GB, free: 22.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.5828, allocations: 2.129 MB / 0.6003 GB, free: 20.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000799/0.5836, allocations: 122.1 kB / 0.6004 GB, free: 20.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.5837, allocations: 71.92 kB / 0.6005 GB, free: 20.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (heater.fluidState[2].phase,heater.fluidState[1].phase,boiler.fluidState[2].phase,boiler.fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 37} Notification: Performance of prepare postOptimizeDAE: time 0.0004968/0.5842, allocations: 332.9 kB / 0.6008 GB, free: 19.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.5843, allocations: 67.19 kB / 0.6009 GB, free: 19.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005841/0.5902, allocations: 7.93 MB / 0.6086 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.5902, allocations: 19.97 kB / 0.6086 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.5903, allocations: 7.938 kB / 0.6086 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.5903, allocations: 3.984 kB / 0.6086 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/0.5929, allocations: 3.82 MB / 0.6124 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.5929, allocations: 0 / 0.6124 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/0.5942, allocations: 207.7 kB / 0.6126 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004728/0.5947, allocations: 149.4 kB / 0.6127 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.696e-05/0.5947, allocations: 20.55 kB / 0.6127 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/0.5969, allocations: 4.035 MB / 0.6167 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5969, allocations: 0 / 0.6167 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002291/0.5992, allocations: 1.933 MB / 0.6186 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/0.5996, allocations: 243.7 kB / 0.6188 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.36e-05/0.5997, allocations: 12 kB / 0.6188 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000592/0.6003, allocations: 83.77 kB / 0.6189 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.6004, allocations: 45.27 kB / 0.6189 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.686e-05/0.6004, allocations: 19.98 kB / 0.6189 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003354/0.6008, allocations: 358.8 kB / 0.6193 GB, free: 220 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6008, allocations: 0 / 0.6193 GB, free: 220 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.003597/0.6044, allocations: 1.211 MB / 0.6205 GB, free: 15.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (boiler.p,boiler.htilde[1],heater.p,heater.htilde[1]) * Number of discrete variables: 8 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006997/0.6114, allocations: 3.357 MB / 0.6237 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003812/0.6152, allocations: 1.98 MB / 0.6257 GB, free: 9.844 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.6153, allocations: 0 / 0.6257 GB, free: 9.844 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001926/0.6172, allocations: 0.8957 MB / 0.6266 GB, free: 8.918 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.6188, allocations: 299 kB / 0.6268 GB, free: 8.633 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.6304, allocations: 6.78 MB / 0.6335 GB, free: 1.793 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006895/0.6311, allocations: 1.077 MB / 0.6345 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007904/0.6319, allocations: 211.4 kB / 0.6347 GB, free: 492 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/0.6324, allocations: 325.4 kB / 0.635 GB, free: 168 kB / 430.1 MB Notification: Performance of SimCode: time 1.233e-06/0.6325, allocations: 0 / 0.635 GB, free: 168 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.12/0.7524, allocations: 69.54 MB / 0.7029 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/0.7528, allocations: 214.5 kB / 0.7031 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.679/5.431, allocations: 3.938 kB / 0.7031 GB, free: 10.12 MB / 0.4981 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestExpansionTankIdeal_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestExpansionTankIdeal.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe 2>&1) Environment - environmentSimulation: