Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirProperties.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.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirProperties") translateModel(BuildingSystems.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008157/0.0008158, allocations: 99.47 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.0008091/0.0008091, 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.131/1.131, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001569/0.001569, allocations: 266.9 kB / 291.2 MB, free: 1.988 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.716/0.716, allocations: 144.6 MB / 487 MB, free: 7.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003597, allocations: 14 kB / 0.5683 GB, free: 38.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1207, allocations: 83.08 MB / 0.6494 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.1181/0.2388, allocations: 125.9 MB / 0.7723 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00284/0.2417, allocations: 3.015 MB / 0.7753 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.2418, allocations: 3.938 kB / 0.7753 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.242, allocations: 43.77 kB / 0.7753 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.2422, allocations: 95.72 kB / 0.7754 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.2434, allocations: 0.6754 MB / 0.7761 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.2436, allocations: 192.6 kB / 0.7763 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.347e-05/0.2436, allocations: 17.53 kB / 0.7763 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.2439, allocations: 155.5 kB / 0.7764 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.244, allocations: 99.66 kB / 0.7765 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.244, allocations: 8 kB / 0.7765 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.2451, allocations: 0.6902 MB / 0.7772 GB, free: 444 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.2452, allocations: 59.86 kB / 0.7773 GB, free: 384 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.2452, allocations: 69.58 kB / 0.7773 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.255/0.5002, allocations: 364.9 kB / 0.7777 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.5002, allocations: 0.7812 kB / 0.7777 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.375e-06/0.5003, allocations: 0 / 0.7777 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.5003, allocations: 0 / 0.7777 GB, free: 3.219 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009416/0.5012, allocations: 0.5502 MB / 0.7782 GB, free: 18.79 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.5013, allocations: 9.375 kB / 0.7782 GB, free: 18.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.5024, allocations: 139.9 kB / 0.7784 GB, free: 18.78 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.5026, allocations: 218.6 kB / 0.7786 GB, free: 18.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.5026, allocations: 11.16 kB / 0.7786 GB, free: 18.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.5026, allocations: 20.78 kB / 0.7786 GB, free: 18.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.5031, allocations: 333.8 kB / 0.7789 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.5031, allocations: 0 / 0.7789 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.5031, allocations: 9.875 kB / 0.7789 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.5032, allocations: 17.06 kB / 0.7789 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/0.5036, allocations: 324.9 kB / 0.7793 GB, free: 18.5 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.5049, allocations: 1.11 MB / 0.7803 GB, free: 17.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.5053, allocations: 189.2 kB / 0.7805 GB, free: 17.72 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004376/0.5058, allocations: 458.9 kB / 0.781 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.5058, allocations: 40.5 kB / 0.781 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 1.423e-06/0.5058, allocations: 0 / 0.781 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.000579/0.5064, allocations: 343.2 kB / 0.7813 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.5064, allocations: 53.66 kB / 0.7814 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.5066, allocations: 200.8 kB / 0.7816 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.5066, allocations: 30.95 kB / 0.7816 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/0.5067, allocations: 148.4 kB / 0.7817 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.5067, allocations: 72.58 kB / 0.7818 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/0.5067, allocations: 9.062 kB / 0.7818 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.353e-05/0.5068, allocations: 324.2 kB / 0.7821 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.5069, allocations: 73.7 kB / 0.7822 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.5071, allocations: 157.6 kB / 0.7823 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.5072, allocations: 97.88 kB / 0.7824 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5072, allocations: 2.594 kB / 0.7824 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004215/0.5076, allocations: 276.6 kB / 0.7827 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.5077, allocations: 4.5 kB / 0.7827 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.5077, allocations: 3.469 kB / 0.7827 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.5077, allocations: 13.14 kB / 0.7827 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.5079, allocations: 57.61 kB / 0.7828 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.508, allocations: 5.328 kB / 0.7828 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.5081, allocations: 29.7 kB / 0.7828 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.5082, allocations: 14.58 kB / 0.7828 GB, free: 16.22 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001051/0.5083, allocations: 143.5 kB / 0.783 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.5084, allocations: 30.84 kB / 0.783 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004128/0.5088, allocations: 273.1 kB / 0.7833 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5088, allocations: 2.594 kB / 0.7833 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5088, allocations: 1.75 kB / 0.7833 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5089, allocations: 1.266 kB / 0.7833 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.5095, allocations: 0.5884 MB / 0.7838 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5095, allocations: 1.062 kB / 0.7838 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.5096, allocations: 41.31 kB / 0.7839 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.5096, allocations: 3.297 kB / 0.7839 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.5097, allocations: 0.6094 kB / 0.7839 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.5097, allocations: 2.281 kB / 0.7839 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5097, allocations: 2.375 kB / 0.7839 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004193/0.5101, allocations: 376.1 kB / 0.7842 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.5102, allocations: 127 kB / 0.7844 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.5103, allocations: 6.109 kB / 0.7844 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.5105, allocations: 14.45 kB / 0.7844 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.5105, allocations: 12.8 kB / 0.7844 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.5106, allocations: 15.52 kB / 0.7844 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000111/0.5107, allocations: 154.7 kB / 0.7846 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.072e-06/0.5107, allocations: 0 / 0.7846 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003955/0.5111, allocations: 117.8 kB / 0.7847 GB, free: 15.31 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002767/0.5114, allocations: 187.8 kB / 0.7848 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002937/0.5117, allocations: 206.4 kB / 0.785 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5117, allocations: 0 / 0.785 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.5118, allocations: 104.4 kB / 0.7851 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.5123, allocations: 100.5 kB / 0.7852 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006116/0.5129, allocations: 0.5525 MB / 0.7858 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.5132, allocations: 0.746 MB / 0.7865 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002542/0.5134, allocations: 58.67 kB / 0.7866 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.912e-05/0.5135, allocations: 23.08 kB / 0.7866 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.5135, allocations: 0 / 0.7866 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.00827/0.5218, allocations: 5.117 MB / 0.7916 GB, free: 13.83 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1) Environment - environmentSimulation: