Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.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.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008388/0.0008388, allocations: 99.94 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.0008354/0.0008355, 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.158/1.158, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001659/0.001659, allocations: 278.7 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.7293/0.7293, allocations: 144.6 MB / 487 MB, free: 7.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003679, allocations: 14.94 kB / 0.5683 GB, free: 38.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1254, allocations: 83.09 MB / 0.6494 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4034/0.5288, allocations: 143 MB / 0.789 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004582/0.5334, allocations: 5.04 MB / 0.794 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.5337, allocations: 6.531 kB / 0.794 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003469/0.534, allocations: 91.06 kB / 0.7941 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.5343, allocations: 137.2 kB / 0.7942 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.5348, allocations: 195.9 kB / 0.7944 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004464/0.5352, allocations: 322.3 kB / 0.7947 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.5355, allocations: 90.97 kB / 0.7948 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.5357, allocations: 152.8 kB / 0.7949 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.5359, allocations: 107.2 kB / 0.795 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.5359, allocations: 10.25 kB / 0.795 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.5361, allocations: 91.12 kB / 0.7951 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.5362, allocations: 51.08 kB / 0.7952 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.5364, allocations: 60.2 kB / 0.7952 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.5367, allocations: 210.5 kB / 0.7954 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.5367, allocations: 0 / 0.7954 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5367, allocations: 0 / 0.7954 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.5367, allocations: 1.125 kB / 0.7954 GB, free: 17.77 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0004228/0.5371, allocations: 469.2 kB / 0.7959 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.5372, allocations: 9.25 kB / 0.7959 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002357/0.5374, allocations: 43.92 kB / 0.7959 GB, free: 17.35 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.5377, allocations: 255.6 kB / 0.7962 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.5378, allocations: 137.1 kB / 0.7963 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.5378, allocations: 21.12 kB / 0.7963 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.5382, allocations: 288.5 kB / 0.7966 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5383, allocations: 4.031 kB / 0.7966 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.5383, allocations: 12.59 kB / 0.7966 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.5383, allocations: 7.125 kB / 0.7966 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.5386, allocations: 158.4 kB / 0.7968 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.5397, allocations: 1.582 MB / 0.7983 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.028e-05/0.5398, allocations: 172.8 kB / 0.7985 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.5398, allocations: 76.03 kB / 0.7986 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.5399, allocations: 111.6 kB / 0.7987 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5399, allocations: 0 / 0.7987 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.513e-05/0.5399, allocations: 46.72 kB / 0.7987 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.54, allocations: 132.4 kB / 0.7988 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.5403, allocations: 305.8 kB / 0.7991 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.5403, allocations: 30.86 kB / 0.7991 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/0.5404, allocations: 186.7 kB / 0.7993 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-06/0.5404, allocations: 4.219 kB / 0.7993 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.5404, allocations: 4.438 kB / 0.7993 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.5406, allocations: 327.3 kB / 0.7996 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.164e-05/0.5406, allocations: 40.11 kB / 0.7997 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.5408, allocations: 159.4 kB / 0.7998 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.5409, allocations: 63.89 kB / 0.7999 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.5409, allocations: 3.125 kB / 0.7999 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003668/0.5413, allocations: 221.8 kB / 0.8001 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5413, allocations: 7.125 kB / 0.8001 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5413, allocations: 7.5 kB / 0.8001 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5413, allocations: 8.062 kB / 0.8001 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.5415, allocations: 40.33 kB / 0.8002 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.5415, allocations: 6.922 kB / 0.8002 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.5417, allocations: 28.59 kB / 0.8002 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.5417, allocations: 14.06 kB / 0.8002 GB, free: 14.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001239/0.5418, allocations: 222.8 kB / 0.8004 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.5419, allocations: 129.5 kB / 0.8006 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.058e-05/0.5419, allocations: 122.8 kB / 0.8007 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.785e-05/0.542, allocations: 178.3 kB / 0.8008 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.025e-05/0.5421, allocations: 182.8 kB / 0.801 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.188e-05/0.5421, allocations: 183.9 kB / 0.8012 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.5424, allocations: 485 kB / 0.8017 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.171e-05/0.5424, allocations: 105.8 kB / 0.8018 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.5424, allocations: 105.1 kB / 0.8019 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.68e-05/0.5425, allocations: 184.2 kB / 0.802 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-05/0.5425, allocations: 177.7 kB / 0.8022 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.456e-05/0.5426, allocations: 189.7 kB / 0.8024 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-05/0.5426, allocations: 178.5 kB / 0.8026 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.5428, allocations: 316.1 kB / 0.8029 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.861e-05/0.5429, allocations: 206.1 kB / 0.8031 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.461e-05/0.543, allocations: 188.5 kB / 0.8032 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.5431, allocations: 108.9 kB / 0.8033 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.5431, allocations: 180.2 kB / 0.8035 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.5432, allocations: 101.8 kB / 0.8036 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002039/0.5434, allocations: 217.6 kB / 0.8038 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5434, allocations: 0 / 0.8038 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003139/0.5437, allocations: 48.72 kB / 0.8039 GB, free: 10.67 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001413/0.5438, allocations: 199.9 kB / 0.804 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.544, allocations: 82.28 kB / 0.8041 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.544, allocations: 2.719 kB / 0.8041 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/0.544, allocations: 2.906 kB / 0.8041 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.5444, allocations: 0.5467 MB / 0.8047 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004522/0.5449, allocations: 446.4 kB / 0.8051 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.5451, allocations: 0.7436 MB / 0.8058 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001366/0.5453, allocations: 36.17 kB / 0.8059 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.5453, allocations: 18.38 kB / 0.8059 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of SimCode: time 2.11e-07/0.5453, allocations: 0 / 0.8059 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of Templates: time 0.003615/0.549, allocations: 1.535 MB / 0.8074 GB, free: 8.801 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) Environment - environmentSimulation: