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.001031/0.001031, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008959/0.00896, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.478/1.478, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.669/1.669, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005491/0.000549, allocations: 18.88 kB / 0.6743 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2744, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004543/0.279, allocations: 3.692 MB / 0.7915 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001896/0.2792, allocations: 151.5 kB / 0.7916 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.809e-05/0.2792, allocations: 0 / 0.7916 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.2794, allocations: 3.984 kB / 0.7916 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.161e-05/0.2795, allocations: 7.938 kB / 0.7916 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.2798, allocations: 78.88 kB / 0.7917 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.2799, allocations: 47.89 kB / 0.7917 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.016e-05/0.28, allocations: 0 / 0.7917 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.481e-05/0.28, allocations: 19.92 kB / 0.7918 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.2802, allocations: 19.86 kB / 0.7918 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.2802, allocations: 4 kB / 0.7918 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.2805, allocations: 75.78 kB / 0.7919 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.33e-05/0.2805, allocations: 3.984 kB / 0.7919 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.856e-05/0.2806, allocations: 37.64 kB / 0.7919 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.2808, allocations: 44.23 kB / 0.7919 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2808, allocations: 0 / 0.7919 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.005e-06/0.2808, allocations: 0 / 0.7919 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.2808, allocations: 0 / 0.7919 GB, free: 7.398 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.0006059/0.2814, allocations: 327.5 kB / 0.7922 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.2815, allocations: 12.03 kB / 0.7923 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.417e-05/0.2815, allocations: 8.844 kB / 0.7923 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.2817, allocations: 164.4 kB / 0.7924 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.611e-05/0.2818, allocations: 26.27 kB / 0.7924 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.2819, allocations: 4.375 kB / 0.7925 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.2821, allocations: 49.56 kB / 0.7925 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2821, allocations: 0 / 0.7925 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.2821, allocations: 4 kB / 0.7925 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.42e-05/0.2822, allocations: 11.94 kB / 0.7925 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.399e-05/0.2823, allocations: 11.98 kB / 0.7925 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/0.2828, allocations: 334 kB / 0.7928 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.017e-05/0.2829, allocations: 22.52 kB / 0.7929 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.2829, allocations: 4.859 kB / 0.7929 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.915e-05/0.283, allocations: 89.16 kB / 0.793 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.2831, allocations: 38.56 kB / 0.793 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2831, allocations: 0 / 0.793 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.000176/0.2832, allocations: 33.7 kB / 0.793 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.2833, allocations: 51.41 kB / 0.7931 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/0.2834, allocations: 105.8 kB / 0.7932 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.2834, allocations: 25.7 kB / 0.7932 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.2835, allocations: 92.05 kB / 0.7933 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-06/0.2835, allocations: 11.95 kB / 0.7933 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.2835, allocations: 13.72 kB / 0.7933 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2837, allocations: 318.8 kB / 0.7936 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.2837, allocations: 4 kB / 0.7936 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.407e-05/0.2837, allocations: 17.72 kB / 0.7936 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.2838, allocations: 21.7 kB / 0.7937 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2838, allocations: 0 / 0.7937 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.986e-05/0.2839, allocations: 49.64 kB / 0.7937 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2839, allocations: 4 kB / 0.7937 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2839, allocations: 0 / 0.7937 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2839, allocations: 7.938 kB / 0.7937 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.246e-05/0.284, allocations: 7.984 kB / 0.7937 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.284, allocations: 0 / 0.7937 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.284, allocations: 0 / 0.7937 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.284, allocations: 4 kB / 0.7937 GB, free: 5.285 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.258e-05/0.2841, allocations: 118.5 kB / 0.7938 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.2841, allocations: 4 kB / 0.7938 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.2843, allocations: 120.8 kB / 0.794 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.441e-05/0.2844, allocations: 184.3 kB / 0.7941 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.932e-05/0.2844, allocations: 180.2 kB / 0.7943 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-05/0.2845, allocations: 176.5 kB / 0.7945 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.2848, allocations: 417.1 kB / 0.7949 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.974e-05/0.2848, allocations: 101 kB / 0.795 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.2849, allocations: 108.9 kB / 0.7951 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.094e-05/0.285, allocations: 188.2 kB / 0.7953 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.93e-05/0.2851, allocations: 176.3 kB / 0.7954 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.721e-05/0.2851, allocations: 184.2 kB / 0.7956 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-05/0.2852, allocations: 176.3 kB / 0.7958 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.2854, allocations: 319.6 kB / 0.7961 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.2855, allocations: 178.1 kB / 0.7962 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.2857, allocations: 192.2 kB / 0.7964 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.2858, allocations: 109 kB / 0.7965 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/0.2859, allocations: 180.3 kB / 0.7967 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.512e-05/0.286, allocations: 104.9 kB / 0.7968 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.362e-05/0.286, allocations: 91.27 kB / 0.7969 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.286, allocations: 0 / 0.7969 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002966/0.2863, allocations: 19.94 kB / 0.7969 GB, free: 1.809 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.0002929/0.2866, allocations: 198.4 kB / 0.7971 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.762e-05/0.2867, allocations: 8 kB / 0.7971 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.2867, allocations: 0 / 0.7971 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.2867, allocations: 3.938 kB / 0.7971 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.2872, allocations: 0.5303 MB / 0.7976 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.2876, allocations: 179.9 kB / 0.7978 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.2879, allocations: 0.677 MB / 0.7985 GB, free: 156 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.276e-05/0.2879, allocations: 8 kB / 0.7985 GB, free: 148 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.2879, allocations: 15.44 kB / 0.7985 GB, free: 132 kB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2879, allocations: 3.938 kB / 0.7985 GB, free: 128 kB / 0.6075 GB Notification: Performance of Templates: time 0.002872/0.2908, allocations: 0.5728 MB / 0.799 GB, free: 15.56 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: