Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007943/0.0007944, allocations: 100.1 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.0008245/0.0008245, 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.133/1.133, 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.001665/0.001665, allocations: 274.7 kB / 291.3 MB, free: 1.98 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.7215/0.7215, allocations: 144.6 MB / 487 MB, free: 7.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003857, allocations: 15.44 kB / 0.5683 GB, free: 38.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1244, allocations: 83.08 MB / 0.6494 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1196/0.244, allocations: 125.3 MB / 0.7718 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003737/0.2477, allocations: 3.957 MB / 0.7757 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.2479, allocations: 7.938 kB / 0.7757 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.2482, allocations: 63.61 kB / 0.7758 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.2484, allocations: 127.6 kB / 0.7759 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 9.002e-05/0.2485, allocations: 43.95 kB / 0.7759 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000331/0.2489, allocations: 247.4 kB / 0.7762 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.249, allocations: 66.09 kB / 0.7762 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.2491, allocations: 79.64 kB / 0.7763 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.2493, allocations: 99.56 kB / 0.7764 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.2493, allocations: 4 kB / 0.7764 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.73e-05/0.2493, allocations: 4 kB / 0.7764 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.2493, allocations: 19.92 kB / 0.7764 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.2494, allocations: 49.64 kB / 0.7765 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.2495, allocations: 112 kB / 0.7766 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.2495, allocations: 0 / 0.7766 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2495, allocations: 0 / 0.7766 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2495, allocations: 4 kB / 0.7766 GB, free: 1.082 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0003059/0.2498, allocations: 410.8 kB / 0.777 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.2499, allocations: 8.031 kB / 0.777 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.2499, allocations: 23.77 kB / 0.777 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.2501, allocations: 239.2 kB / 0.7772 GB, free: 336 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.2502, allocations: 16 kB / 0.7772 GB, free: 320 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.2502, allocations: 12 kB / 0.7773 GB, free: 308 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.2504, allocations: 208.5 kB / 0.7775 GB, free: 52 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2504, allocations: 4 kB / 0.7775 GB, free: 48 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.2504, allocations: 8 kB / 0.7775 GB, free: 40 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2504, allocations: 7.938 kB / 0.7775 GB, free: 32 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2192/0.4697, allocations: 64.38 kB / 0.7775 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006699/0.4704, allocations: 1.591 MB / 0.7791 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.494e-05/0.4704, allocations: 171.6 kB / 0.7793 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.4704, allocations: 76.34 kB / 0.7793 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.4705, allocations: 108.9 kB / 0.7794 GB, free: 129 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.944e-06/0.4705, allocations: 1.766 kB / 0.7794 GB, free: 129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.669e-05/0.4705, allocations: 50.59 kB / 0.7795 GB, free: 129 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.4706, allocations: 132.8 kB / 0.7796 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.4708, allocations: 250.6 kB / 0.7798 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.268e-06/0.4708, allocations: 25.7 kB / 0.7799 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.4708, allocations: 145.4 kB / 0.78 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.4708, allocations: 0.5469 kB / 0.78 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.4709, allocations: 1.219 kB / 0.78 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.186e-05/0.4709, allocations: 330.3 kB / 0.7803 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.4709, allocations: 4.344 kB / 0.7803 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.445e-05/0.4709, allocations: 52.16 kB / 0.7804 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.715e-05/0.471, allocations: 17.34 kB / 0.7804 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.471, allocations: 0 / 0.7804 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001195/0.4711, allocations: 88.03 kB / 0.7805 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.4711, allocations: 8 kB / 0.7805 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.4711, allocations: 3.188 kB / 0.7805 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.4712, allocations: 7.078 kB / 0.7805 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.613e-05/0.4712, allocations: 11.84 kB / 0.7805 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.4712, allocations: 2.594 kB / 0.7805 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.66e-05/0.4713, allocations: 20.73 kB / 0.7805 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.4713, allocations: 3.25 kB / 0.7805 GB, free: 128.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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 5.758e-05/0.4714, allocations: 199.7 kB / 0.7807 GB, free: 128 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.4714, allocations: 121.4 kB / 0.7808 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.4714, allocations: 121.9 kB / 0.781 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.4715, allocations: 184.2 kB / 0.7811 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/0.4715, allocations: 180.9 kB / 0.7813 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-05/0.4715, allocations: 183.7 kB / 0.7815 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.4717, allocations: 453.5 kB / 0.7819 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.4717, allocations: 107.9 kB / 0.782 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.114e-05/0.4717, allocations: 105.8 kB / 0.7821 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.692e-05/0.4717, allocations: 182.8 kB / 0.7823 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.4717, allocations: 181.1 kB / 0.7825 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-05/0.4718, allocations: 179.9 kB / 0.7826 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-05/0.4718, allocations: 187.5 kB / 0.7828 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.192e-05/0.4719, allocations: 323.9 kB / 0.7831 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.4719, allocations: 198.7 kB / 0.7833 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.4719, allocations: 176.9 kB / 0.7835 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.865e-05/0.472, allocations: 111.9 kB / 0.7836 GB, free: 125 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.472, allocations: 180 kB / 0.7838 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.4721, allocations: 103.6 kB / 0.7839 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001044/0.4722, allocations: 183 kB / 0.784 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.81e-07/0.4722, allocations: 2.781 kB / 0.784 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000225/0.4724, allocations: 24.97 kB / 0.7841 GB, free: 124.7 MB / 0.5606 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 6.996e-05/0.4725, allocations: 168.9 kB / 0.7842 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.132e-05/0.4725, allocations: 24.36 kB / 0.7842 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4726, allocations: 0 / 0.7842 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.4726, allocations: 0 / 0.7842 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.473, allocations: 0.5722 MB / 0.7848 GB, free: 124 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.4733, allocations: 372 kB / 0.7852 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.4734, allocations: 0.7173 MB / 0.7859 GB, free: 123 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.528e-05/0.4735, allocations: 23.28 kB / 0.7859 GB, free: 123 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.4735, allocations: 15.53 kB / 0.7859 GB, free: 123 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.4735, allocations: 0 / 0.7859 GB, free: 123 MB / 0.5606 GB Notification: Performance of Templates: time 0.00326/0.4768, allocations: 1.477 MB / 0.7873 GB, free: 122.9 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) Environment - environmentSimulation: