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.001143/0.001143, 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.001234/0.001234, allocations: 191.4 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.647/1.647, allocations: 205.1 MB / 222 MB, free: 4.766 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.617/1.617, allocations: 251.6 MB / 0.5088 GB, free: 3.332 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.001521/0.00152, allocations: 67.91 kB / 0.6216 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6338/0.6354, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1995/0.835, allocations: 159.2 MB / 0.8793 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006799/0.8418, allocations: 4.599 MB / 0.8838 GB, free: 8.703 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006075/0.8425, allocations: 7.938 kB / 0.8838 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006812/0.8432, allocations: 99.34 kB / 0.8839 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.8443, allocations: 310.7 kB / 0.8842 GB, free: 8.293 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.8453, allocations: 250.9 kB / 0.8844 GB, free: 8.051 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001003/0.8463, allocations: 0.7873 MB / 0.8852 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003854/0.8467, allocations: 169.6 kB / 0.8854 GB, free: 7.098 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.848, allocations: 406.4 kB / 0.8858 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003214/0.8483, allocations: 211.2 kB / 0.886 GB, free: 6.492 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.8483, allocations: 11.94 kB / 0.886 GB, free: 6.48 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003213/0.8487, allocations: 75.92 kB / 0.886 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.8488, allocations: 79.73 kB / 0.8861 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.8489, allocations: 107.5 kB / 0.8862 GB, free: 6.223 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.8493, allocations: 279.1 kB / 0.8865 GB, free: 5.949 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.8493, allocations: 4 kB / 0.8865 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8493, allocations: 0 / 0.8865 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.8493, allocations: 0 / 0.8865 GB, free: 5.945 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.0009579/0.8503, allocations: 0.5333 MB / 0.887 GB, free: 5.363 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.8504, allocations: 8.031 kB / 0.887 GB, free: 5.355 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.586e-05/0.8505, allocations: 31.66 kB / 0.887 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.8509, allocations: 278.2 kB / 0.8873 GB, free: 5.012 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.8509, allocations: 16 kB / 0.8873 GB, free: 4.996 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.8509, allocations: 16 kB / 0.8873 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.8514, allocations: 258.1 kB / 0.8876 GB, free: 4.691 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.8514, allocations: 0 / 0.8876 GB, free: 4.691 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.8514, allocations: 11.94 kB / 0.8876 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.8515, allocations: 12 kB / 0.8876 GB, free: 4.668 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000349/0.8518, allocations: 147.7 kB / 0.8878 GB, free: 4.523 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.8532, allocations: 1.367 MB / 0.8891 GB, free: 3.062 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.8535, allocations: 183.7 kB / 0.8893 GB, free: 2.828 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.8537, allocations: 93.11 kB / 0.8894 GB, free: 2.719 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003794/0.8541, allocations: 121 kB / 0.8895 GB, free: 2.582 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.8541, allocations: 46.48 kB / 0.8895 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.8541, allocations: 4 kB / 0.8895 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0006204/0.8548, allocations: 201.1 kB / 0.8897 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.8549, allocations: 183.9 kB / 0.8899 GB, free: 2.098 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.8552, allocations: 287.6 kB / 0.8902 GB, free: 1.812 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.8552, allocations: 29.7 kB / 0.8902 GB, free: 1.777 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.8554, allocations: 143.9 kB / 0.8903 GB, free: 1.633 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.8554, allocations: 31.47 kB / 0.8904 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.523e-05/0.8555, allocations: 37.7 kB / 0.8904 GB, free: 1.559 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.8557, allocations: 334.8 kB / 0.8907 GB, free: 1.223 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.8558, allocations: 43.97 kB / 0.8908 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.856, allocations: 118.7 kB / 0.8909 GB, free: 1.039 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.8563, allocations: 155 kB / 0.891 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8563, allocations: 11.81 kB / 0.891 GB, free: 0.8516 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003636/0.8567, allocations: 189.3 kB / 0.8912 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.8567, allocations: 7.938 kB / 0.8912 GB, free: 0.6523 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.8567, allocations: 4 kB / 0.8912 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.8567, allocations: 4 kB / 0.8912 GB, free: 0.6445 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.8569, allocations: 31.92 kB / 0.8913 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.8569, allocations: 0 / 0.8913 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.8571, allocations: 35.67 kB / 0.8913 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.8571, allocations: 12.11 kB / 0.8913 GB, free: 0.5664 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.0001386/0.8573, allocations: 149.8 kB / 0.8914 GB, free: 420 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.8574, allocations: 27.66 kB / 0.8915 GB, free: 392 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/0.8577, allocations: 123 kB / 0.8916 GB, free: 260 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.8578, allocations: 0 / 0.8916 GB, free: 260 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.8578, allocations: 4 kB / 0.8916 GB, free: 256 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.8578, allocations: 3.984 kB / 0.8916 GB, free: 252 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008875/0.8587, allocations: 0.773 MB / 0.8923 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.8587, allocations: 0 / 0.8923 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.8588, allocations: 23.98 kB / 0.8924 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.8588, allocations: 0 / 0.8924 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.8589, allocations: 8.156 kB / 0.8924 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.8589, allocations: 8.109 kB / 0.8924 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.8589, allocations: 7.938 kB / 0.8924 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005274/0.8594, allocations: 335.3 kB / 0.8927 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.8595, allocations: 116.8 kB / 0.8928 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.8596, allocations: 4 kB / 0.8928 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.8597, allocations: 11.98 kB / 0.8928 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.8598, allocations: 7.938 kB / 0.8928 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.8598, allocations: 12.06 kB / 0.8929 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002029/0.86, allocations: 201.9 kB / 0.893 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.86, allocations: 0 / 0.893 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003464/0.8604, allocations: 55.98 kB / 0.8931 GB, free: 14.57 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.0003893/0.8608, allocations: 142.5 kB / 0.8932 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003445/0.8611, allocations: 123.8 kB / 0.8934 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8611, allocations: 0 / 0.8934 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.8613, allocations: 55.91 kB / 0.8934 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007696/0.8621, allocations: 130.7 kB / 0.8935 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008604/0.863, allocations: 0.5323 MB / 0.8941 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.8633, allocations: 0.756 MB / 0.8948 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.8635, allocations: 54.23 kB / 0.8948 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.8636, allocations: 23.44 kB / 0.8949 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8636, allocations: 0 / 0.8949 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.008598/0.8722, allocations: 3.933 MB / 0.8987 GB, free: 8.828 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)