Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.InletToAirMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008439/0.0008439, 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.0008313/0.0008314, 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.137/1.137, 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.001629/0.001629, allocations: 266.4 kB / 291.2 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.7113/0.7113, allocations: 144.6 MB / 487 MB, free: 7.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003539, allocations: 15.06 kB / 0.5683 GB, free: 38.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1145, allocations: 83.08 MB / 0.6494 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.3912/0.5057, allocations: 145.3 MB / 0.7913 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006287/0.512, allocations: 7.446 MB / 0.7986 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.5123, allocations: 7.344 kB / 0.7986 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.5126, allocations: 64.8 kB / 0.7986 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.5128, allocations: 116.4 kB / 0.7988 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.5129, allocations: 44.23 kB / 0.7988 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004734/0.5134, allocations: 303.3 kB / 0.7991 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002168/0.5136, allocations: 111.5 kB / 0.7992 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.5139, allocations: 118.6 kB / 0.7993 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.446e-05/0.514, allocations: 60.17 kB / 0.7994 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.514, allocations: 2.781 kB / 0.7994 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.126e-05/0.514, allocations: 4.156 kB / 0.7994 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.514, allocations: 17.12 kB / 0.7994 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.5141, allocations: 67.08 kB / 0.7995 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.5142, allocations: 148 kB / 0.7996 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.5142, allocations: 0 / 0.7996 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5142, allocations: 1.953 kB / 0.7996 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.5142, allocations: 0 / 0.7996 GB, free: 1.891 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004442/0.5147, allocations: 438.2 kB / 0.8 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.5147, allocations: 8.906 kB / 0.8 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.5148, allocations: 19.47 kB / 0.8 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.515, allocations: 253.2 kB / 0.8003 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.515, allocations: 15.19 kB / 0.8003 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.5151, allocations: 19.31 kB / 0.8003 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.5153, allocations: 228.2 kB / 0.8005 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.5153, allocations: 9.078 kB / 0.8005 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.5154, allocations: 10 kB / 0.8005 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.5154, allocations: 5.156 kB / 0.8006 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.5155, allocations: 86.23 kB / 0.8006 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007945/0.5163, allocations: 1.429 MB / 0.802 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.23e-05/0.5164, allocations: 172.8 kB / 0.8022 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.5164, allocations: 76.89 kB / 0.8023 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.5164, allocations: 107.4 kB / 0.8024 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.5164, allocations: 0 / 0.8024 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.83e-05/0.5165, allocations: 52.77 kB / 0.8024 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.5166, allocations: 133.9 kB / 0.8025 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.5168, allocations: 280.5 kB / 0.8028 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.5169, allocations: 25.7 kB / 0.8028 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.517, allocations: 152.3 kB / 0.803 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.517, allocations: 0.7812 kB / 0.803 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.517, allocations: 0 / 0.803 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.5171, allocations: 332.5 kB / 0.8033 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.5171, allocations: 3.219 kB / 0.8033 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.594e-05/0.5171, allocations: 31.05 kB / 0.8033 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.249e-05/0.5171, allocations: 11.06 kB / 0.8033 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5171, allocations: 1.859 kB / 0.8033 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001237/0.5173, allocations: 82.16 kB / 0.8034 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.5173, allocations: 4.562 kB / 0.8034 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5173, allocations: 1.844 kB / 0.8034 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.5173, allocations: 2.062 kB / 0.8034 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.795e-05/0.5174, allocations: 6.219 kB / 0.8034 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.5174, allocations: 2.125 kB / 0.8034 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.321e-05/0.5174, allocations: 22.44 kB / 0.8035 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.5174, allocations: 1.875 kB / 0.8035 GB, free: 14.74 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 9.754e-05/0.5175, allocations: 201.3 kB / 0.8037 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.5176, allocations: 131.5 kB / 0.8038 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.672e-05/0.5177, allocations: 130.8 kB / 0.8039 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.876e-05/0.5177, allocations: 178.5 kB / 0.8041 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.415e-05/0.5178, allocations: 180.6 kB / 0.8043 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.798e-05/0.5178, allocations: 183 kB / 0.8044 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.5181, allocations: 473.7 kB / 0.8049 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/0.5181, allocations: 102.7 kB / 0.805 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.871e-05/0.5181, allocations: 111 kB / 0.8051 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-05/0.5182, allocations: 178.1 kB / 0.8053 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-05/0.5182, allocations: 184.3 kB / 0.8054 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.051e-05/0.5183, allocations: 184.2 kB / 0.8056 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.787e-05/0.5184, allocations: 181 kB / 0.8058 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.5185, allocations: 320.3 kB / 0.8061 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.741e-05/0.5186, allocations: 204.7 kB / 0.8063 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.11e-05/0.5187, allocations: 180.7 kB / 0.8064 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.453e-05/0.5188, allocations: 113.7 kB / 0.8066 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.5188, allocations: 177.7 kB / 0.8067 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.5188, allocations: 105.4 kB / 0.8068 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001732/0.519, allocations: 205.2 kB / 0.807 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.519, allocations: 0 / 0.807 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002329/0.5193, allocations: 22.25 kB / 0.807 GB, free: 11.21 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.000108/0.5194, allocations: 173.5 kB / 0.8072 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 5.267e-05/0.5194, allocations: 14.78 kB / 0.8072 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5194, allocations: 1.281 kB / 0.8072 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.5194, allocations: 3.391 kB / 0.8072 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.0006253/0.5201, allocations: 0.6043 MB / 0.8078 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004351/0.5205, allocations: 400 kB / 0.8082 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.5208, allocations: 0.7307 MB / 0.8089 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.702e-05/0.5208, allocations: 24.08 kB / 0.8089 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.5209, allocations: 17.09 kB / 0.809 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.5209, allocations: 2.938 kB / 0.809 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of Templates: time 0.004222/0.5251, allocations: 2.222 MB / 0.8111 GB, free: 9.352 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) Environment - environmentSimulation: