Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.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.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T") translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008122/0.0008122, allocations: 100.6 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.0008249/0.0008249, allocations: 177.3 kB / 15.94 MB, free: 228 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.14/1.14, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001678/0.001678, allocations: 282.3 kB / 291.2 MB, free: 1.871 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.7262/0.7262, allocations: 144.6 MB / 487 MB, free: 7.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003619, allocations: 11.81 kB / 0.5683 GB, free: 38.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1151, allocations: 83.09 MB / 0.6494 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_T): time 0.3973/0.5124, allocations: 160.9 MB / 0.8066 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007994/0.5205, allocations: 8.445 MB / 0.8148 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005482/0.521, allocations: 26.16 kB / 0.8149 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009394/0.522, allocations: 418 kB / 0.8153 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.5239, allocations: 0.9935 MB / 0.8162 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.5258, allocations: 0.9351 MB / 0.8171 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008627/0.5267, allocations: 1.006 MB / 0.8181 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006678/0.5273, allocations: 0.6242 MB / 0.8187 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.529, allocations: 0.9882 MB / 0.8197 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003562/0.5294, allocations: 353.9 kB / 0.82 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.063e-05/0.5295, allocations: 38.62 kB / 0.8201 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.5307, allocations: 0.5795 MB / 0.8206 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.5309, allocations: 295.5 kB / 0.8209 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.531, allocations: 180.9 kB / 0.8211 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006876/0.5317, allocations: 0.8472 MB / 0.8219 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.5317, allocations: 0 / 0.8219 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5317, allocations: 0 / 0.8219 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.5318, allocations: 1.859 kB / 0.8219 GB, free: 1.523 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001111/0.5329, allocations: 0.9616 MB / 0.8229 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.5329, allocations: 10.94 kB / 0.8229 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.5345, allocations: 305.3 kB / 0.8232 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007001/0.5352, allocations: 0.5065 MB / 0.8237 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.5352, allocations: 60.23 kB / 0.8237 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.08e-05/0.5353, allocations: 73.55 kB / 0.8238 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009748/0.5363, allocations: 0.8956 MB / 0.8247 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.5363, allocations: 2.906 kB / 0.8247 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.5363, allocations: 38.97 kB / 0.8247 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.939e-05/0.5364, allocations: 35.03 kB / 0.8247 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007562/0.5372, allocations: 0.5812 MB / 0.8253 GB, free: 16.35 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.002729/0.5399, allocations: 3.494 MB / 0.8287 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.5402, allocations: 231.7 kB / 0.8289 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003708/0.5406, allocations: 140.4 kB / 0.8291 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.5406, allocations: 43.41 kB / 0.8291 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.5406, allocations: 0 / 0.8291 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.001003/0.5416, allocations: 476.1 kB / 0.8296 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.5417, allocations: 104.8 kB / 0.8297 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007418/0.5424, allocations: 0.8551 MB / 0.8305 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.5425, allocations: 29.33 kB / 0.8305 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.5427, allocations: 386.1 kB / 0.8309 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.5427, allocations: 74.91 kB / 0.831 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/0.5427, allocations: 5.188 kB / 0.831 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.5428, allocations: 321 kB / 0.8313 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.543, allocations: 108.2 kB / 0.8314 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.5432, allocations: 216.6 kB / 0.8316 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.5435, allocations: 137.7 kB / 0.8317 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5435, allocations: 0 / 0.8317 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005576/0.544, allocations: 411.6 kB / 0.8321 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.5441, allocations: 15.16 kB / 0.8321 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5441, allocations: 3.219 kB / 0.8321 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.5441, allocations: 8.906 kB / 0.8321 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.5444, allocations: 59.06 kB / 0.8322 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.5444, allocations: 8.656 kB / 0.8322 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000411/0.5448, allocations: 96.16 kB / 0.8323 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.5448, allocations: 17.31 kB / 0.8323 GB, free: 12.84 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 (32): * Single equations (assignments): 32 * 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.0002038/0.545, allocations: 232.9 kB / 0.8325 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.5452, allocations: 80.75 kB / 0.8326 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005051/0.5457, allocations: 338.2 kB / 0.8329 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5457, allocations: 2.812 kB / 0.8329 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5457, allocations: 0 / 0.8329 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5457, allocations: 1.859 kB / 0.8329 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.5473, allocations: 1.39 MB / 0.8343 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.5473, allocations: 15.11 kB / 0.8343 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.5475, allocations: 44.73 kB / 0.8344 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.5475, allocations: 5 kB / 0.8344 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.5475, allocations: 12.03 kB / 0.8344 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.5476, allocations: 9.156 kB / 0.8344 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5476, allocations: 7.875 kB / 0.8344 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/0.5482, allocations: 0.7152 MB / 0.8351 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.5484, allocations: 193.5 kB / 0.8353 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.309e-05/0.5485, allocations: 13 kB / 0.8353 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.5488, allocations: 31.84 kB / 0.8353 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.5489, allocations: 31.42 kB / 0.8353 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.5489, allocations: 17.34 kB / 0.8354 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005446/0.5495, allocations: 0.6018 MB / 0.836 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5495, allocations: 1.75 kB / 0.836 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004866/0.55, allocations: 167.5 kB / 0.8361 GB, free: 11.14 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.0003102/0.5503, allocations: 180.6 kB / 0.8363 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000444/0.5507, allocations: 269.7 kB / 0.8365 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5507, allocations: 0 / 0.8365 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.551, allocations: 133.8 kB / 0.8367 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.5524, allocations: 415.2 kB / 0.8371 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.5538, allocations: 1.421 MB / 0.8385 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.5542, allocations: 1.013 MB / 0.8394 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004311/0.5547, allocations: 164.8 kB / 0.8396 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.5548, allocations: 51.09 kB / 0.8396 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.5548, allocations: 0 / 0.8396 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of Templates: time 0.01663/0.5714, allocations: 12.69 MB / 0.852 GB, free: 3.301 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) Environment - environmentSimulation: