Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.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_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h") translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009225/0.0009226, allocations: 99.86 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.0009295/0.0009295, 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.188/1.188, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001632/0.001632, allocations: 270.9 kB / 291.2 MB, free: 1.875 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.7208/0.7208, allocations: 144.6 MB / 487 MB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003629, allocations: 15.06 kB / 0.5683 GB, free: 38.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1179, allocations: 83.08 MB / 0.6494 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.3893/0.5072, allocations: 146.9 MB / 0.7928 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006705/0.5139, allocations: 7.002 MB / 0.7997 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004554/0.5144, allocations: 21.03 kB / 0.7997 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007648/0.5152, allocations: 349.7 kB / 0.8 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007322/0.5159, allocations: 366.3 kB / 0.8004 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.5172, allocations: 0.5237 MB / 0.8009 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006921/0.5179, allocations: 0.6828 MB / 0.8016 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005443/0.5185, allocations: 456.1 kB / 0.802 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.5208, allocations: 1.225 MB / 0.8032 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.521, allocations: 212.1 kB / 0.8034 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.5211, allocations: 20.81 kB / 0.8034 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.5212, allocations: 55.06 kB / 0.8035 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.5214, allocations: 221.5 kB / 0.8037 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.5216, allocations: 124.7 kB / 0.8038 GB, free: 17.85 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.522, allocations: 452.4 kB / 0.8042 GB, free: 17.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.522, allocations: 4 kB / 0.8042 GB, free: 17.81 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.522, allocations: 0 / 0.8042 GB, free: 17.81 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.904e-06/0.522, allocations: 0 / 0.8042 GB, free: 17.81 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.0007722/0.5228, allocations: 0.7212 MB / 0.8049 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.5228, allocations: 8.562 kB / 0.8049 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.045e-05/0.5229, allocations: 70.61 kB / 0.805 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.5234, allocations: 401.7 kB / 0.8054 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.5235, allocations: 51.11 kB / 0.8054 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.087e-05/0.5235, allocations: 49.16 kB / 0.8055 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000813/0.5243, allocations: 0.7032 MB / 0.8062 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.5244, allocations: 1.156 kB / 0.8062 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.5244, allocations: 25.19 kB / 0.8062 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.505e-05/0.5245, allocations: 34.34 kB / 0.8062 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005919/0.5251, allocations: 382.9 kB / 0.8066 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.5272, allocations: 3.228 MB / 0.8098 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.5274, allocations: 223.3 kB / 0.81 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.5275, allocations: 5.188 kB / 0.81 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.5275, allocations: 51.8 kB / 0.81 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.5275, allocations: 1.969 kB / 0.81 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006651/0.5282, allocations: 264.5 kB / 0.8103 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.5283, allocations: 296.4 kB / 0.8106 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006749/0.529, allocations: 0.6794 MB / 0.8112 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.529, allocations: 30.33 kB / 0.8113 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.5291, allocations: 267.3 kB / 0.8115 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.5292, allocations: 33.5 kB / 0.8115 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-06/0.5292, allocations: 1.344 kB / 0.8115 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5293, allocations: 369 kB / 0.8119 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.5294, allocations: 45.84 kB / 0.8119 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.5296, allocations: 99.58 kB / 0.812 GB, free: 13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.5297, allocations: 56.31 kB / 0.8121 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5297, allocations: 0.625 kB / 0.8121 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003017/0.53, allocations: 199.9 kB / 0.8123 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.53, allocations: 13.52 kB / 0.8123 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5301, allocations: 1.969 kB / 0.8123 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.5301, allocations: 1.75 kB / 0.8123 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.5303, allocations: 56.95 kB / 0.8123 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.5303, allocations: 9.094 kB / 0.8124 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.5305, allocations: 58.66 kB / 0.8124 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.5305, allocations: 9.031 kB / 0.8124 GB, free: 12.88 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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 prepare postOptimizeDAE: time 0.0001553/0.5307, allocations: 202.1 kB / 0.8126 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.5309, allocations: 61.44 kB / 0.8127 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.611e-05/0.5309, allocations: 67.72 kB / 0.8127 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5309, allocations: 5.5 kB / 0.8127 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.531, allocations: 4.562 kB / 0.8127 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.531, allocations: 3.312 kB / 0.8128 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.5321, allocations: 1.294 MB / 0.814 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5321, allocations: 2.656 kB / 0.814 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.5323, allocations: 54.56 kB / 0.8141 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.5323, allocations: 6.375 kB / 0.8141 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.5323, allocations: 2.5 kB / 0.8141 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5324, allocations: 3.469 kB / 0.8141 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5324, allocations: 2.594 kB / 0.8141 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.5328, allocations: 459.1 kB / 0.8145 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.5329, allocations: 151.1 kB / 0.8147 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.533, allocations: 7.328 kB / 0.8147 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.5332, allocations: 26.86 kB / 0.8147 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.5332, allocations: 12.2 kB / 0.8147 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.5332, allocations: 5.688 kB / 0.8147 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004226/0.5337, allocations: 498.2 kB / 0.8152 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5337, allocations: 0 / 0.8152 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003493/0.534, allocations: 81.44 kB / 0.8153 GB, free: 11.11 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (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.0002358/0.5343, allocations: 146.2 kB / 0.8154 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.5345, allocations: 110.9 kB / 0.8155 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5346, allocations: 0 / 0.8155 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.5347, allocations: 69.7 kB / 0.8156 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.5358, allocations: 276.8 kB / 0.8158 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.5369, allocations: 0.9729 MB / 0.8168 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.5373, allocations: 0.9174 MB / 0.8177 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002122/0.5375, allocations: 99.97 kB / 0.8178 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.147e-05/0.5375, allocations: 34.19 kB / 0.8178 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.5375, allocations: 2 kB / 0.8178 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of Templates: time 0.01048/0.548, allocations: 7.763 MB / 0.8254 GB, free: 8.586 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) Environment - environmentSimulation: