Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008142/0.0008142, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.0008518/0.0008519, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.151/1.151, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001634/0.001634, allocations: 274.9 kB / 291.3 MB, free: 2 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7396/0.7396, allocations: 144.6 MB / 487 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003624, allocations: 15.66 kB / 0.5683 GB, free: 38.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1184, allocations: 83.09 MB / 0.6494 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.3969/0.5153, allocations: 135.5 MB / 0.7817 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003176/0.5185, allocations: 3.666 MB / 0.7853 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.5187, allocations: 11.62 kB / 0.7853 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.5192, allocations: 153.1 kB / 0.7855 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005003/0.5197, allocations: 292.3 kB / 0.7858 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007152/0.5204, allocations: 345.1 kB / 0.7861 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.5208, allocations: 336.3 kB / 0.7864 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/0.521, allocations: 165.5 kB / 0.7866 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005099/0.5216, allocations: 299.2 kB / 0.7869 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.5218, allocations: 130.7 kB / 0.787 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.5218, allocations: 9.031 kB / 0.787 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.5219, allocations: 65.08 kB / 0.7871 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.601e-05/0.522, allocations: 72.28 kB / 0.7871 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.5221, allocations: 67.2 kB / 0.7872 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.5224, allocations: 205.8 kB / 0.7874 GB, free: 18.15 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.5224, allocations: 0 / 0.7874 GB, free: 18.15 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5224, allocations: 0 / 0.7874 GB, free: 18.15 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.5224, allocations: 4 kB / 0.7874 GB, free: 18.15 MB / 0.5762 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.0006469/0.5231, allocations: 0.4955 MB / 0.7879 GB, free: 17.72 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.5231, allocations: 8.875 kB / 0.7879 GB, free: 17.72 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.5232, allocations: 27.05 kB / 0.7879 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.5235, allocations: 274.7 kB / 0.7882 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.5235, allocations: 16.97 kB / 0.7882 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.5236, allocations: 29.66 kB / 0.7882 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003646/0.524, allocations: 267 kB / 0.7885 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.524, allocations: 9.828 kB / 0.7885 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.524, allocations: 7.5 kB / 0.7885 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.524, allocations: 5.969 kB / 0.7885 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.5243, allocations: 156.8 kB / 0.7886 GB, free: 17.35 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.5254, allocations: 1.372 MB / 0.79 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.5256, allocations: 189 kB / 0.7902 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003294/0.526, allocations: 128.6 kB / 0.7903 GB, free: 16.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.526, allocations: 41.45 kB / 0.7903 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.526, allocations: 0 / 0.7903 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0005595/0.5266, allocations: 221.5 kB / 0.7905 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.5267, allocations: 190 kB / 0.7907 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.5269, allocations: 287.8 kB / 0.791 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.527, allocations: 29.81 kB / 0.791 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.783e-05/0.5271, allocations: 145.7 kB / 0.7912 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.5271, allocations: 36.66 kB / 0.7912 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.5271, allocations: 3.188 kB / 0.7912 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.5272, allocations: 337.2 kB / 0.7915 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.5273, allocations: 54.94 kB / 0.7916 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.5275, allocations: 121.3 kB / 0.7917 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.5277, allocations: 64.52 kB / 0.7917 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5277, allocations: 0 / 0.7917 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003515/0.528, allocations: 201.2 kB / 0.7919 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.528, allocations: 5.156 kB / 0.7919 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5281, allocations: 3.141 kB / 0.7919 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.5281, allocations: 7.969 kB / 0.792 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.5282, allocations: 33.7 kB / 0.792 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.5282, allocations: 3.078 kB / 0.792 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.5284, allocations: 32.08 kB / 0.792 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.5284, allocations: 11.27 kB / 0.792 GB, free: 15.01 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.5285, allocations: 153 kB / 0.7922 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.5287, allocations: 28.48 kB / 0.7922 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.529, allocations: 144.3 kB / 0.7923 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.529, allocations: 2.375 kB / 0.7923 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.529, allocations: 2.156 kB / 0.7923 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.529, allocations: 7.766 kB / 0.7923 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007357/0.5297, allocations: 0.7671 MB / 0.7931 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5298, allocations: 3.344 kB / 0.7931 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.5299, allocations: 33.16 kB / 0.7931 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.5299, allocations: 6.547 kB / 0.7931 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.5299, allocations: 2.906 kB / 0.7931 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.5299, allocations: 2.875 kB / 0.7931 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5299, allocations: 6.266 kB / 0.7932 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.5304, allocations: 413.5 kB / 0.7935 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.663e-05/0.5305, allocations: 108.2 kB / 0.7936 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.5306, allocations: 7.797 kB / 0.7937 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.5307, allocations: 11.91 kB / 0.7937 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.5307, allocations: 15.34 kB / 0.7937 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.5308, allocations: 9.062 kB / 0.7937 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001833/0.5309, allocations: 207.9 kB / 0.7939 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5309, allocations: 0 / 0.7939 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003086/0.5313, allocations: 53.94 kB / 0.7939 GB, free: 13.71 MB / 0.5762 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 (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.0002651/0.5315, allocations: 146.5 kB / 0.7941 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003317/0.5319, allocations: 129.1 kB / 0.7942 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5319, allocations: 1.188 kB / 0.7942 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.532, allocations: 65.11 kB / 0.7943 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006179/0.5327, allocations: 123.1 kB / 0.7944 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006673/0.5333, allocations: 0.5613 MB / 0.7949 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.5336, allocations: 0.7635 MB / 0.7957 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.5338, allocations: 45.97 kB / 0.7957 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.5338, allocations: 21.28 kB / 0.7957 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.5338, allocations: 4 kB / 0.7957 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of Templates: time 0.006565/0.5404, allocations: 3.866 MB / 0.7995 GB, free: 12.3 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) Environment - environmentSimulation: