Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.399/1.399, allocations: 251.5 MB / 267.4 MB, free: 11.11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009975/0.0009971, allocations: 170.2 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205 MB / 0.5766 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007971/0.0007972, allocations: 91.66 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002885/0.0002886, allocations: 8.719 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2057, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.156/0.3618, allocations: 158.9 MB / 1.052 GB, free: 4.656 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005485/0.3673, allocations: 4.603 MB / 1.056 GB, free: 40 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003365/0.3677, allocations: 11.94 kB / 1.056 GB, free: 28 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.4669/0.8346, allocations: 93.8 kB / 1.057 GB, free: 1.898 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.8358, allocations: 311.1 kB / 1.057 GB, free: 1.898 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008188/0.8366, allocations: 249 kB / 1.057 GB, free: 1.895 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008177/0.8374, allocations: 0.7863 MB / 1.058 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002673/0.8377, allocations: 162.1 kB / 1.058 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009199/0.8387, allocations: 415.9 kB / 1.058 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.839, allocations: 197.4 kB / 1.059 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.839, allocations: 8.188 kB / 1.059 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.8392, allocations: 75.94 kB / 1.059 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.8393, allocations: 76.36 kB / 1.059 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.8394, allocations: 107.6 kB / 1.059 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.8398, allocations: 206 kB / 1.059 GB, free: 1.871 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8398, allocations: 0 / 1.059 GB, free: 1.871 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8398, allocations: 0 / 1.059 GB, free: 1.871 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.8398, allocations: 0 / 1.059 GB, free: 1.871 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008979/0.8407, allocations: 0.4932 MB / 1.059 GB, free: 17.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.8407, allocations: 8.625 kB / 1.059 GB, free: 17.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.8408, allocations: 28.7 kB / 1.06 GB, free: 17.44 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.8412, allocations: 279.2 kB / 1.06 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.8412, allocations: 14.72 kB / 1.06 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.8412, allocations: 21.81 kB / 1.06 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004569/0.8417, allocations: 273.4 kB / 1.06 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.8417, allocations: 0.5156 kB / 1.06 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.8418, allocations: 5.906 kB / 1.06 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.8418, allocations: 5.375 kB / 1.06 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003363/0.8421, allocations: 163.4 kB / 1.06 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.8435, allocations: 1.378 MB / 1.062 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.8437, allocations: 185.7 kB / 1.062 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.8439, allocations: 105.4 kB / 1.062 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003661/0.8443, allocations: 136.2 kB / 1.062 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.8443, allocations: 37.81 kB / 1.062 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.8443, allocations: 0 / 1.062 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0006017/0.8449, allocations: 225.2 kB / 1.062 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/0.845, allocations: 186.1 kB / 1.062 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.8453, allocations: 286.5 kB / 1.063 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.8453, allocations: 32.61 kB / 1.063 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.358e-05/0.8454, allocations: 147.5 kB / 1.063 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.8455, allocations: 31.94 kB / 1.063 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.8455, allocations: 21.14 kB / 1.063 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.8456, allocations: 335.1 kB / 1.063 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.8458, allocations: 46.83 kB / 1.063 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.846, allocations: 121.2 kB / 1.063 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.8462, allocations: 168.1 kB / 1.064 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8463, allocations: 0 / 1.064 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003807/0.8466, allocations: 208.4 kB / 1.064 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.8467, allocations: 5.594 kB / 1.064 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.8467, allocations: 3.391 kB / 1.064 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.8467, allocations: 2.469 kB / 1.064 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.8468, allocations: 37.41 kB / 1.064 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.8469, allocations: 2.75 kB / 1.064 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.847, allocations: 30.08 kB / 1.064 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.8471, allocations: 13.89 kB / 1.064 GB, free: 14.6 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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 0.0001291/0.8472, allocations: 149.1 kB / 1.064 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.8473, allocations: 29.2 kB / 1.064 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.8477, allocations: 142.6 kB / 1.064 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.8477, allocations: 2.844 kB / 1.064 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.8477, allocations: 0.5625 kB / 1.064 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.8477, allocations: 3.344 kB / 1.064 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000779/0.8485, allocations: 0.7702 MB / 1.065 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8485, allocations: 4.031 kB / 1.065 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.8486, allocations: 24.48 kB / 1.065 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.8486, allocations: 6.125 kB / 1.065 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.8486, allocations: 2.406 kB / 1.065 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.8487, allocations: 3.281 kB / 1.065 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8487, allocations: 1.031 kB / 1.065 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005145/0.8492, allocations: 362.8 kB / 1.065 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.792e-05/0.8493, allocations: 115.2 kB / 1.065 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.8493, allocations: 3.859 kB / 1.065 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.8495, allocations: 13.44 kB / 1.065 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.8495, allocations: 12.89 kB / 1.065 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.8495, allocations: 13.97 kB / 1.065 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000193/0.8497, allocations: 207.8 kB / 1.066 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8497, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003286/0.8501, allocations: 53.45 kB / 1.066 GB, free: 13.39 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0003341/0.8504, allocations: 131.5 kB / 1.066 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003667/0.8508, allocations: 134.1 kB / 1.066 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.8508, allocations: 0 / 1.066 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.851, allocations: 72.42 kB / 1.066 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007826/0.8518, allocations: 118.8 kB / 1.066 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000875/0.8526, allocations: 0.568 MB / 1.067 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.853, allocations: 0.7498 MB / 1.067 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.415e-05/0.8531, allocations: 21.59 kB / 1.067 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/0.8531, allocations: 0 / 1.067 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of Templates: time 0.008203/0.8613, allocations: 3.683 MB / 1.071 GB, free: 11.94 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)