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.007048/0.007047, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001848/0.001848, allocations: 201.9 kB / 16.68 MB, free: 5.977 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.558/1.558, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.746/1.746, allocations: 251.7 MB / 0.5094 GB, free: 3.078 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.00143/0.00143, allocations: 79.88 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2476, allocations: 104.7 MB / 0.8281 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.7893/1.037, allocations: 161.5 MB / 0.9857 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.006351/1.043, allocations: 4.596 MB / 0.9902 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006577/1.044, allocations: 14.72 kB / 0.9902 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0005527/1.045, allocations: 127.6 kB / 0.9904 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001057/1.046, allocations: 325.3 kB / 0.9907 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009899/1.047, allocations: 284.9 kB / 0.9909 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0007066/1.047, allocations: 0.5536 MB / 0.9915 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003619/1.048, allocations: 191.7 kB / 0.9917 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/1.049, allocations: 463.1 kB / 0.9921 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/1.049, allocations: 189.9 kB / 0.9923 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/1.049, allocations: 15.97 kB / 0.9923 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/1.05, allocations: 81.34 kB / 0.9924 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/1.05, allocations: 86.12 kB / 0.9925 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/1.05, allocations: 116.1 kB / 0.9926 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0004955/1.05, allocations: 301.5 kB / 0.9929 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/1.05, allocations: 0 / 0.9929 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.494e-06/1.05, allocations: 0 / 0.9929 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.699e-06/1.05, allocations: 0 / 0.9929 GB, free: 10.8 MB / 0.7481 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.001244/1.052, allocations: 0.5357 MB / 0.9934 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/1.052, allocations: 7.906 kB / 0.9934 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/1.052, allocations: 28.53 kB / 0.9934 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005384/1.052, allocations: 289.6 kB / 0.9937 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/1.052, allocations: 12.06 kB / 0.9937 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.337e-05/1.052, allocations: 18 kB / 0.9937 GB, free: 10 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005639/1.053, allocations: 269.4 kB / 0.994 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/1.053, allocations: 2.812 kB / 0.994 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/1.053, allocations: 14.25 kB / 0.994 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/1.053, allocations: 2.938 kB / 0.994 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/1.053, allocations: 152.1 kB / 0.9941 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/1.055, allocations: 1.366 MB / 0.9955 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/1.055, allocations: 177.2 kB / 0.9956 GB, free: 8.203 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/1.055, allocations: 94.83 kB / 0.9957 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003588/1.056, allocations: 128.6 kB / 0.9959 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/1.056, allocations: 38.06 kB / 0.9959 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/1.056, allocations: 0 / 0.9959 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0006088/1.056, allocations: 213.5 kB / 0.9961 GB, free: 7.836 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/1.057, allocations: 186.8 kB / 0.9963 GB, free: 7.613 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/1.057, allocations: 278.1 kB / 0.9965 GB, free: 7.434 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/1.057, allocations: 32.42 kB / 0.9966 GB, free: 7.398 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/1.057, allocations: 146.2 kB / 0.9967 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/1.057, allocations: 40.95 kB / 0.9968 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-05/1.057, allocations: 34.8 kB / 0.9968 GB, free: 7.199 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.057, allocations: 335.9 kB / 0.9971 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/1.057, allocations: 49.75 kB / 0.9972 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/1.058, allocations: 109.2 kB / 0.9973 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/1.058, allocations: 157.4 kB / 0.9974 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.058, allocations: 0 / 0.9974 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003893/1.058, allocations: 195.1 kB / 0.9976 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.058, allocations: 7.844 kB / 0.9976 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.058, allocations: 1.969 kB / 0.9976 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/1.059, allocations: 4.25 kB / 0.9976 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/1.059, allocations: 35.48 kB / 0.9976 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/1.059, allocations: 2.531 kB / 0.9976 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/1.059, allocations: 37.8 kB / 0.9977 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/1.059, allocations: 7.391 kB / 0.9977 GB, free: 6.477 MB / 0.7481 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/1.059, allocations: 145.1 kB / 0.9978 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/1.059, allocations: 27.91 kB / 0.9979 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/1.06, allocations: 126 kB / 0.998 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.06, allocations: 6.656 kB / 0.998 GB, free: 6.234 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.06, allocations: 2.688 kB / 0.998 GB, free: 6.234 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/1.06, allocations: 1.312 kB / 0.998 GB, free: 6.234 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000879/1.06, allocations: 0.7733 MB / 0.9987 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.06, allocations: 160 / 0.9987 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/1.061, allocations: 23.92 kB / 0.9988 GB, free: 5.465 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.061, allocations: 2.719 kB / 0.9988 GB, free: 5.465 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/1.061, allocations: 4.656 kB / 0.9988 GB, free: 5.465 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/1.061, allocations: 3.938 kB / 0.9988 GB, free: 5.461 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.061, allocations: 1.781 kB / 0.9988 GB, free: 5.461 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005517/1.061, allocations: 352.2 kB / 0.9991 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.344e-05/1.061, allocations: 106.9 kB / 0.9992 GB, free: 5.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/1.061, allocations: 2.625 kB / 0.9992 GB, free: 5.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/1.061, allocations: 12.3 kB / 0.9992 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/1.062, allocations: 17.89 kB / 0.9992 GB, free: 5.051 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/1.062, allocations: 2.125 kB / 0.9992 GB, free: 5.051 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001777/1.062, allocations: 210.1 kB / 0.9994 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.062, allocations: 0 / 0.9994 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003442/1.062, allocations: 48.91 kB / 0.9995 GB, free: 4.91 MB / 0.7481 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.0003358/1.062, allocations: 149.1 kB / 0.9996 GB, free: 4.797 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003543/1.063, allocations: 123.6 kB / 0.9998 GB, free: 4.742 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.063, allocations: 0 / 0.9998 GB, free: 4.742 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/1.063, allocations: 61.39 kB / 0.9998 GB, free: 4.715 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000727/1.064, allocations: 127.1 kB / 0.9999 GB, free: 4.652 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007895/1.064, allocations: 486.7 kB / 1 GB, free: 4.289 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/1.065, allocations: 0.7579 MB / 1.001 GB, free: 3.555 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001626/1.065, allocations: 56.66 kB / 1.001 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/1.065, allocations: 19.5 kB / 1.001 GB, free: 3.52 MB / 0.7481 GB Notification: Performance of SimCode: time 4.91e-07/1.065, allocations: 0 / 1.001 GB, free: 3.52 MB / 0.7481 GB Notification: Performance of Templates: time 0.008724/1.074, allocations: 4.171 MB / 1.005 GB, free: 1.465 MB / 0.7481 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)