Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8728/0.8728, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 167.8 kB / 182.2 MB, free: 9.469 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 221.5 MB / 436.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009731/0.000973, allocations: 84.09 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00175/0.00175, allocations: 284.8 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.637e-05/1.643e-05, allocations: 0 / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3873, allocations: 82.78 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.812/4.2, allocations: 1.671 GB / 2.428 GB, free: 80.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/4.2, allocations: 80.77 kB / 2.428 GB, free: 80.86 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.07096/4.271, allocations: 36.71 MB / 2.464 GB, free: 50.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/4.271, allocations: 0 / 2.464 GB, free: 50.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.724e-06/4.271, allocations: 0 / 2.464 GB, free: 50.05 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003138/4.271, allocations: 351.4 kB / 2.464 GB, free: 49.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/4.271, allocations: 8.031 kB / 2.464 GB, free: 49.65 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002653/4.272, allocations: 27.92 kB / 2.464 GB, free: 49.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/4.272, allocations: 163.1 kB / 2.465 GB, free: 49.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.59e-05/4.272, allocations: 25.7 kB / 2.465 GB, free: 49.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/4.272, allocations: 4 kB / 2.465 GB, free: 49.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.76e-05/4.272, allocations: 23.92 kB / 2.465 GB, free: 49.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.382e-05/4.272, allocations: 41.69 kB / 2.465 GB, free: 49.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/4.272, allocations: 0 / 2.465 GB, free: 49.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/4.272, allocations: 0 / 2.465 GB, free: 49.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/4.272, allocations: 11.92 kB / 2.465 GB, free: 49.31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/4.273, allocations: 330.5 kB / 2.465 GB, free: 48.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.095e-05/4.273, allocations: 14.58 kB / 2.465 GB, free: 48.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/4.273, allocations: 4.859 kB / 2.465 GB, free: 48.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/4.273, allocations: 4.062 kB / 2.465 GB, free: 48.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/4.273, allocations: 38.55 kB / 2.465 GB, free: 48.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/4.273, allocations: 4 kB / 2.465 GB, free: 48.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0002108/4.273, allocations: 37.64 kB / 2.465 GB, free: 48.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/4.273, allocations: 55.36 kB / 2.465 GB, free: 48.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.362e-05/4.273, allocations: 101 kB / 2.465 GB, free: 48.63 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/4.273, allocations: 25.7 kB / 2.465 GB, free: 48.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/4.273, allocations: 84.05 kB / 2.465 GB, free: 48.51 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.054e-06/4.273, allocations: 11.84 kB / 2.465 GB, free: 48.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/4.273, allocations: 4.031 kB / 2.465 GB, free: 48.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.693e-05/4.273, allocations: 318.8 kB / 2.466 GB, free: 48.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/4.273, allocations: 4 kB / 2.466 GB, free: 48.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-05/4.273, allocations: 18.58 kB / 2.466 GB, free: 48.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.234e-05/4.273, allocations: 8 kB / 2.466 GB, free: 48.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/4.273, allocations: 0 / 2.466 GB, free: 48.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.625e-05/4.273, allocations: 49.62 kB / 2.466 GB, free: 48.08 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/4.273, allocations: 11.94 kB / 2.466 GB, free: 48.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/4.273, allocations: 0 / 2.466 GB, free: 48.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/4.273, allocations: 0 / 2.466 GB, free: 48.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.082e-05/4.273, allocations: 8 kB / 2.466 GB, free: 48.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/4.273, allocations: 3.984 kB / 2.466 GB, free: 48.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.105e-05/4.274, allocations: 3.953 kB / 2.466 GB, free: 48.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/4.274, allocations: 4 kB / 2.466 GB, free: 48.05 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.261e-05/4.274, allocations: 109 kB / 2.466 GB, free: 47.94 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/4.274, allocations: 7.906 kB / 2.466 GB, free: 47.93 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/4.274, allocations: 7.75 kB / 2.466 GB, free: 47.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/4.274, allocations: 3.938 kB / 2.466 GB, free: 47.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/4.274, allocations: 0 / 2.466 GB, free: 47.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/4.274, allocations: 0 / 2.466 GB, free: 47.92 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/4.274, allocations: 327.4 kB / 2.466 GB, free: 47.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/4.274, allocations: 0 / 2.466 GB, free: 47.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.544e-05/4.274, allocations: 8.219 kB / 2.466 GB, free: 47.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/4.274, allocations: 8.031 kB / 2.466 GB, free: 47.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/4.274, allocations: 4 kB / 2.466 GB, free: 47.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/4.274, allocations: 0 / 2.466 GB, free: 47.53 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/4.274, allocations: 0 / 2.466 GB, free: 47.53 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.179e-05/4.274, allocations: 57.03 kB / 2.466 GB, free: 47.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/4.274, allocations: 81.11 kB / 2.466 GB, free: 47.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/4.274, allocations: 3.984 kB / 2.466 GB, free: 47.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/4.274, allocations: 8.031 kB / 2.466 GB, free: 47.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.104e-05/4.274, allocations: 0 / 2.466 GB, free: 47.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/4.274, allocations: 0 / 2.466 GB, free: 47.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.764e-05/4.274, allocations: 83.28 kB / 2.467 GB, free: 47.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/4.274, allocations: 0 / 2.467 GB, free: 47.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002715/4.274, allocations: 39.94 kB / 2.467 GB, free: 47.23 MB / 0.698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006996/4.275, allocations: 0.6248 MB / 2.467 GB, free: 46.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.071e-05/4.275, allocations: 15.94 kB / 2.467 GB, free: 46.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/4.275, allocations: 4.188 kB / 2.467 GB, free: 46.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.009e-06/4.275, allocations: 4 kB / 2.467 GB, free: 46.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/4.275, allocations: 1.406 kB / 2.467 GB, free: 46.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001688/4.276, allocations: 52 kB / 2.467 GB, free: 46.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/4.276, allocations: 0.6807 MB / 2.468 GB, free: 45.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.87e-05/4.276, allocations: 12.05 kB / 2.468 GB, free: 45.78 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.012e-05/4.276, allocations: 11.38 kB / 2.468 GB, free: 45.77 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/4.276, allocations: 0 / 2.468 GB, free: 45.77 MB / 0.698 GB Notification: Performance of Templates: time 0.006166/4.282, allocations: 3.663 MB / 2.471 GB, free: 42.11 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)