Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.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.Validation.Boundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary") translateModel(BuildingSystems.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008167/0.0008167, allocations: 99.7 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.0008452/0.0008452, 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.16/1.16, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001617/0.001617, allocations: 266.7 kB / 291.2 MB, free: 2.012 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.7183/0.7183, allocations: 144.6 MB / 487 MB, free: 7.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003831, allocations: 17.66 kB / 0.5683 GB, free: 38.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1246, allocations: 83.09 MB / 0.6494 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Boundary): time 0.4594/0.584, allocations: 200.8 MB / 0.8455 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01904/0.6031, allocations: 17.72 MB / 0.8628 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/0.6053, allocations: 79.84 kB / 0.8629 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002409/0.6077, allocations: 0.9616 MB / 0.8639 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005953/0.6137, allocations: 2.322 MB / 0.8661 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006438/0.6201, allocations: 2.683 MB / 0.8687 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003149/0.6233, allocations: 2.192 MB / 0.8709 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.6244, allocations: 0.9447 MB / 0.8718 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.6261, allocations: 1.102 MB / 0.8729 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005958/0.6267, allocations: 0.6586 MB / 0.8735 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.6268, allocations: 49.44 kB / 0.8736 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006034/0.6328, allocations: 2.64 MB / 0.8762 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004261/0.6333, allocations: 0.5549 MB / 0.8767 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003572/0.6336, allocations: 420 kB / 0.8771 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003059/0.6367, allocations: 2.783 MB / 0.8798 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.6367, allocations: 2.812 kB / 0.8798 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6367, allocations: 0 / 0.8798 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.86e-05/0.6367, allocations: 0 / 0.8798 GB, free: 9.496 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.002311/0.6391, allocations: 1.907 MB / 0.8817 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.6391, allocations: 8.75 kB / 0.8817 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/0.6412, allocations: 488.7 kB / 0.8822 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.6434, allocations: 1.198 MB / 0.8833 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.946e-05/0.6435, allocations: 93.56 kB / 0.8834 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.6436, allocations: 127.3 kB / 0.8835 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.6458, allocations: 1.708 MB / 0.8852 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/0.6458, allocations: 5.75 kB / 0.8852 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.609e-05/0.6459, allocations: 52.44 kB / 0.8853 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-05/0.646, allocations: 67.09 kB / 0.8853 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.6474, allocations: 1.22 MB / 0.8865 GB, free: 6.211 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.00613/0.6535, allocations: 7.568 MB / 0.8939 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007744/0.6543, allocations: 0.6557 MB / 0.8945 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/0.6554, allocations: 1.518 MB / 0.896 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.6554, allocations: 56.53 kB / 0.8961 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=72): time 2.445e-06/0.6554, allocations: 0 / 0.8961 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72): time 0.002083/0.6575, allocations: 1.388 MB / 0.8974 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.6577, allocations: 298.2 kB / 0.8977 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/0.6597, allocations: 1.871 MB / 0.8995 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.865e-05/0.6597, allocations: 41.7 kB / 0.8996 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005379/0.6603, allocations: 0.7213 MB / 0.9003 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.6604, allocations: 248.4 kB / 0.9005 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.6605, allocations: 8 kB / 0.9005 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.6606, allocations: 334 kB / 0.9009 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.6609, allocations: 329.1 kB / 0.9012 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005438/0.6615, allocations: 0.5554 MB / 0.9017 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.6619, allocations: 406.8 kB / 0.9021 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6619, allocations: 0 / 0.9021 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001121/0.663, allocations: 1.002 MB / 0.9031 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.6631, allocations: 20.06 kB / 0.9031 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.6631, allocations: 4 kB / 0.9031 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.6631, allocations: 8 kB / 0.9031 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.6635, allocations: 119.5 kB / 0.9032 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.6635, allocations: 10.53 kB / 0.9032 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006855/0.6642, allocations: 134.4 kB / 0.9034 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.788e-05/0.6643, allocations: 43.98 kB / 0.9034 GB, free: 5.852 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.0005248/0.6648, allocations: 457.3 kB / 0.9038 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/0.6651, allocations: 185.7 kB / 0.904 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.6666, allocations: 1.097 MB / 0.9051 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.6666, allocations: 12 kB / 0.9051 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.6666, allocations: 0 / 0.9051 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.6666, allocations: 7.984 kB / 0.9051 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009087/0.6757, allocations: 8.659 MB / 0.9136 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/0.6757, allocations: 12.62 kB / 0.9136 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.6761, allocations: 144.7 kB / 0.9137 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.909e-05/0.6762, allocations: 23.94 kB / 0.9137 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.332e-05/0.6762, allocations: 43.95 kB / 0.9138 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.051e-05/0.6762, allocations: 36.2 kB / 0.9138 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/0.6763, allocations: 27.59 kB / 0.9138 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.6783, allocations: 2.81 MB / 0.9166 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006441/0.679, allocations: 422.3 kB / 0.917 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.6792, allocations: 31.98 kB / 0.917 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006079/0.6798, allocations: 44.11 kB / 0.9171 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/0.6799, allocations: 104.5 kB / 0.9172 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.609e-05/0.6799, allocations: 51.98 kB / 0.9172 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001438/0.6814, allocations: 1.3 MB / 0.9185 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6814, allocations: 0 / 0.9185 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001685/0.6831, allocations: 0.5153 MB / 0.919 GB, free: 4.746 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001644/0.6847, allocations: 0.7567 MB / 0.9197 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009658/0.6857, allocations: 0.803 MB / 0.9205 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.6857, allocations: 4 kB / 0.9205 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005062/0.6862, allocations: 484.2 kB / 0.921 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004765/0.691, allocations: 1.265 MB / 0.9222 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/0.6947, allocations: 3.563 MB / 0.9257 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009012/0.6957, allocations: 1.441 MB / 0.9271 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001217/0.6969, allocations: 490.6 kB / 0.9276 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.6971, allocations: 123.4 kB / 0.9277 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.6971, allocations: 0 / 0.9277 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of Templates: time 0.05675/0.7539, allocations: 42.03 MB / 0.9687 GB, free: 2.199 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe 2>&1) Environment - environmentSimulation: