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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001796/0.001797, allocations: 192.5 kB / 16.25 MB, free: 6.625 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.629/1.629, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.596/1.596, allocations: 251.7 MB / 0.5089 GB, free: 3.336 MB / 414.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.001483/0.001483, allocations: 63.91 kB / 0.6217 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4758/0.4773, allocations: 104.7 MB / 0.724 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1638/0.6412, allocations: 159.3 MB / 0.8795 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005501/0.6468, allocations: 4.563 MB / 0.884 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005165/0.6473, allocations: 11.88 kB / 0.884 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005388/0.6479, allocations: 103.4 kB / 0.8841 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.649, allocations: 310.7 kB / 0.8844 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008679/0.6499, allocations: 246.9 kB / 0.8846 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.000756/0.6507, allocations: 0.5612 MB / 0.8852 GB, free: 7.418 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003661/0.651, allocations: 185.2 kB / 0.8853 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009873/0.652, allocations: 458.3 kB / 0.8858 GB, free: 6.785 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.6524, allocations: 191.2 kB / 0.886 GB, free: 6.598 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.384e-05/0.6524, allocations: 20 kB / 0.886 GB, free: 6.578 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.6527, allocations: 79.88 kB / 0.8861 GB, free: 6.5 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.6528, allocations: 91.77 kB / 0.8862 GB, free: 6.41 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.6529, allocations: 107.4 kB / 0.8863 GB, free: 6.305 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.6534, allocations: 299.1 kB / 0.8865 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.6534, allocations: 0 / 0.8865 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.716e-06/0.6534, allocations: 3.938 kB / 0.8865 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.6535, allocations: 0 / 0.8865 GB, free: 6.008 MB / 0.7012 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.0009793/0.6544, allocations: 0.5295 MB / 0.8871 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.6545, allocations: 12.03 kB / 0.8871 GB, free: 5.418 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.074e-05/0.6546, allocations: 27.66 kB / 0.8871 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.655, allocations: 274.1 kB / 0.8874 GB, free: 5.082 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.6551, allocations: 12 kB / 0.8874 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.6551, allocations: 20 kB / 0.8874 GB, free: 5.051 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000462/0.6556, allocations: 262 kB / 0.8876 GB, free: 4.758 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.6556, allocations: 0 / 0.8876 GB, free: 4.758 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.6556, allocations: 11.94 kB / 0.8877 GB, free: 4.746 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.6556, allocations: 4 kB / 0.8877 GB, free: 4.742 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.656, allocations: 151.8 kB / 0.8878 GB, free: 4.594 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.6574, allocations: 1.375 MB / 0.8891 GB, free: 3.129 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.6578, allocations: 179.7 kB / 0.8893 GB, free: 2.898 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.6579, allocations: 93.11 kB / 0.8894 GB, free: 2.789 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003405/0.6583, allocations: 117 kB / 0.8895 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.6583, allocations: 46.44 kB / 0.8896 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.6583, allocations: 0 / 0.8896 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0005815/0.6589, allocations: 209.7 kB / 0.8898 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.659, allocations: 187.9 kB / 0.8899 GB, free: 2.164 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.6593, allocations: 283 kB / 0.8902 GB, free: 1.883 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.6594, allocations: 29.7 kB / 0.8902 GB, free: 1.848 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.6595, allocations: 143.9 kB / 0.8904 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.6595, allocations: 43.67 kB / 0.8904 GB, free: 1.66 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/0.6596, allocations: 37.66 kB / 0.8905 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6597, allocations: 334.8 kB / 0.8908 GB, free: 1.281 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.6598, allocations: 43.95 kB / 0.8908 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.66, allocations: 106.8 kB / 0.8909 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.6603, allocations: 162.7 kB / 0.8911 GB, free: 0.9258 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6603, allocations: 0 / 0.8911 GB, free: 0.9258 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003874/0.6607, allocations: 185.2 kB / 0.8912 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.6607, allocations: 12.16 kB / 0.8913 GB, free: 0.7266 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.6608, allocations: 4 kB / 0.8913 GB, free: 0.7227 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.6608, allocations: 4 kB / 0.8913 GB, free: 0.7188 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.6609, allocations: 35.91 kB / 0.8913 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.6609, allocations: 4 kB / 0.8913 GB, free: 0.6797 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.6611, allocations: 27.67 kB / 0.8913 GB, free: 0.6523 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.6611, allocations: 12 kB / 0.8913 GB, free: 0.6406 MB / 0.7012 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.0001453/0.6613, allocations: 137.8 kB / 0.8915 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.6614, allocations: 31.66 kB / 0.8915 GB, free: 476 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003129/0.6618, allocations: 134.9 kB / 0.8916 GB, free: 332 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.6618, allocations: 4.375 kB / 0.8916 GB, free: 328 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6618, allocations: 0 / 0.8916 GB, free: 328 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.6618, allocations: 4 kB / 0.8916 GB, free: 324 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008172/0.6626, allocations: 0.7652 MB / 0.8924 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6626, allocations: 3.938 kB / 0.8924 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.6628, allocations: 31.97 kB / 0.8924 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.6628, allocations: 0 / 0.8924 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.6628, allocations: 7.938 kB / 0.8924 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.6628, allocations: 0 / 0.8924 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6628, allocations: 4 kB / 0.8924 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005025/0.6633, allocations: 351.5 kB / 0.8928 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.274e-05/0.6634, allocations: 112.8 kB / 0.8929 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.6635, allocations: 0 / 0.8929 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.6636, allocations: 15.98 kB / 0.8929 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.6637, allocations: 11.92 kB / 0.8929 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.6637, allocations: 4 kB / 0.8929 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000188/0.6639, allocations: 209.9 kB / 0.8931 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6639, allocations: 8 kB / 0.8931 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003418/0.6642, allocations: 52 kB / 0.8932 GB, free: 14.63 MB / 0.7169 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.0003442/0.6646, allocations: 123.2 kB / 0.8933 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003456/0.6649, allocations: 132.1 kB / 0.8934 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.665, allocations: 4.062 kB / 0.8934 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.6651, allocations: 59.89 kB / 0.8935 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007319/0.6658, allocations: 129.8 kB / 0.8936 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008462/0.6667, allocations: 0.5343 MB / 0.8941 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.6671, allocations: 0.7556 MB / 0.8949 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.6672, allocations: 50.25 kB / 0.8949 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.6673, allocations: 27.38 kB / 0.8949 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6673, allocations: 0 / 0.8949 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of Templates: time 0.009429/0.6767, allocations: 4.081 MB / 0.8989 GB, free: 8.746 MB / 0.7169 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)