Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002151/0.002151, allocations: 193.8 kB / 16.13 MB, free: 6.66 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.401/1.401, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 292.2 MB / 0.5484 GB, free: 13.68 MB / 462.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.001246/0.001246, allocations: 68.41 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2317, allocations: 114.5 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005617/0.2374, allocations: 4.054 MB / 0.7866 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002341/0.2377, allocations: 159.4 kB / 0.7868 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.664e-05/0.2377, allocations: 0 / 0.7868 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.983e-05/0.2378, allocations: 3.984 kB / 0.7868 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.368e-05/0.2379, allocations: 11.92 kB / 0.7868 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.2382, allocations: 66.83 kB / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.095e-05/0.2382, allocations: 55.81 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.2383, allocations: 12 kB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.3e-05/0.2383, allocations: 8 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.433e-05/0.2384, allocations: 19.84 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.2384, allocations: 4 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.2386, allocations: 67.8 kB / 0.787 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.2387, allocations: 7.984 kB / 0.787 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.2387, allocations: 15.92 kB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.2389, allocations: 36.25 kB / 0.7871 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2389, allocations: 0 / 0.7871 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.11e-07/0.2389, allocations: 0 / 0.7871 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.2389, allocations: 4 kB / 0.7871 GB, free: 9.504 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004295/0.2393, allocations: 339.4 kB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.2394, allocations: 12.03 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.2394, allocations: 0.9375 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.2395, allocations: 164.4 kB / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.974e-05/0.2396, allocations: 34.25 kB / 0.7876 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.2396, allocations: 384 / 0.7876 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.2398, allocations: 45.56 kB / 0.7876 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2398, allocations: 4 kB / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.2398, allocations: 4 kB / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.2398, allocations: 7.922 kB / 0.7876 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.505e-05/0.2399, allocations: 12 kB / 0.7877 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.2404, allocations: 334 kB / 0.788 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.095e-05/0.2405, allocations: 14.58 kB / 0.788 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.754e-05/0.2405, allocations: 12.86 kB / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.934e-05/0.2406, allocations: 89.09 kB / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.2407, allocations: 34.5 kB / 0.7881 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2407, allocations: 0 / 0.7881 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002329/0.2409, allocations: 41.69 kB / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.2409, allocations: 51.41 kB / 0.7882 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.241, allocations: 109.8 kB / 0.7883 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.2411, allocations: 25.83 kB / 0.7883 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.2411, allocations: 88.05 kB / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.264e-06/0.2411, allocations: 7.891 kB / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.2412, allocations: 17.72 kB / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2413, allocations: 318.7 kB / 0.7887 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.2413, allocations: 4 kB / 0.7888 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.407e-05/0.2413, allocations: 21.7 kB / 0.7888 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.592e-05/0.2414, allocations: 25.72 kB / 0.7888 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2414, allocations: 0 / 0.7888 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.557e-05/0.2415, allocations: 49.62 kB / 0.7888 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2415, allocations: 4 kB / 0.7889 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.2415, allocations: 0 / 0.7889 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.2415, allocations: 4 kB / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.437e-05/0.2416, allocations: 4 kB / 0.7889 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2416, allocations: 0 / 0.7889 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.982e-05/0.2416, allocations: 4.062 kB / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.2416, allocations: 4 kB / 0.7889 GB, free: 7.379 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.573e-05/0.2417, allocations: 122.4 kB / 0.789 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.2418, allocations: 4 kB / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.2419, allocations: 120.8 kB / 0.7891 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.456e-05/0.242, allocations: 180.3 kB / 0.7893 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.251e-05/0.242, allocations: 188.2 kB / 0.7895 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.22e-05/0.2421, allocations: 180.3 kB / 0.7896 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.2424, allocations: 409.1 kB / 0.79 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.779e-05/0.2424, allocations: 101 kB / 0.7901 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.2424, allocations: 104.9 kB / 0.7902 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.104e-05/0.2425, allocations: 188.2 kB / 0.7904 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.755e-05/0.2426, allocations: 180.3 kB / 0.7906 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.578e-05/0.2426, allocations: 184.2 kB / 0.7907 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.955e-05/0.2427, allocations: 176.3 kB / 0.7909 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.2428, allocations: 311.7 kB / 0.7912 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.069e-05/0.2429, allocations: 186.1 kB / 0.7914 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.512e-05/0.243, allocations: 180.2 kB / 0.7916 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.2432, allocations: 105 kB / 0.7917 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.162e-05/0.2432, allocations: 188.5 kB / 0.7918 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.829e-05/0.2433, allocations: 104.9 kB / 0.7919 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.739e-05/0.2434, allocations: 87.28 kB / 0.792 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2434, allocations: 7.938 kB / 0.792 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000259/0.2437, allocations: 19.94 kB / 0.792 GB, free: 3.902 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002743/0.2439, allocations: 194.4 kB / 0.7922 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.838e-05/0.244, allocations: 16.03 kB / 0.7922 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.244, allocations: 0 / 0.7922 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.618e-06/0.244, allocations: 8.047 kB / 0.7923 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006447/0.2447, allocations: 0.5224 MB / 0.7928 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.245, allocations: 183.6 kB / 0.7929 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.2453, allocations: 0.6731 MB / 0.7936 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.302e-05/0.2454, allocations: 8 kB / 0.7936 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.2454, allocations: 15.42 kB / 0.7936 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2454, allocations: 0 / 0.7936 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of Templates: time 0.002844/0.2482, allocations: 0.5692 MB / 0.7942 GB, free: 1.664 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)