Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9607/0.9607, allocations: 140.1 MB / 156 MB, free: 5.152 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 183 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.4 MB / 426.3 MB, free: 8.473 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008962/0.000896, allocations: 86.36 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001709/0.001709, allocations: 269.3 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004706, allocations: 16 kB / 0.662 GB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4068, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.717/5.123, allocations: 2.306 GB / 3.046 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/5.124, allocations: 91.95 kB / 3.046 GB, free: 231.5 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$conAir$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$conAir$inlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$inlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$inlet$backward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$sou$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$souRev$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$souRev$outlet$backward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.2329/5.357, allocations: 141.7 MB / 3.184 GB, free: 88.13 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.623e-06/5.357, allocations: 0 / 3.184 GB, free: 88.13 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.149e-05/5.357, allocations: 8 kB / 3.184 GB, free: 88.12 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004155/5.357, allocations: 455.2 kB / 3.185 GB, free: 87.63 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/5.357, allocations: 8.031 kB / 3.185 GB, free: 87.62 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/5.357, allocations: 28.66 kB / 3.185 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/5.358, allocations: 271.8 kB / 3.185 GB, free: 87.29 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/5.358, allocations: 12.81 kB / 3.185 GB, free: 87.28 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/5.358, allocations: 24.31 kB / 3.185 GB, free: 87.25 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/5.358, allocations: 328.9 kB / 3.185 GB, free: 86.87 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/5.358, allocations: 4.406 kB / 3.185 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/5.358, allocations: 11.94 kB / 3.185 GB, free: 86.85 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/5.358, allocations: 7.938 kB / 3.185 GB, free: 86.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/5.358, allocations: 127.7 kB / 3.186 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009547/5.359, allocations: 1.977 MB / 3.187 GB, free: 84.63 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.339e-05/5.359, allocations: 173.2 kB / 3.188 GB, free: 84.45 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/5.359, allocations: 84.14 kB / 3.188 GB, free: 84.37 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/5.359, allocations: 79.22 kB / 3.188 GB, free: 84.29 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/5.359, allocations: 109.8 kB / 3.188 GB, free: 84.17 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.183e-06/5.359, allocations: 0 / 3.188 GB, free: 84.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.066e-05/5.359, allocations: 57.39 kB / 3.188 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/5.359, allocations: 130.6 kB / 3.188 GB, free: 83.97 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/5.36, allocations: 324.5 kB / 3.188 GB, free: 83.64 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/5.36, allocations: 29.7 kB / 3.188 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/5.36, allocations: 171.5 kB / 3.189 GB, free: 83.44 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/5.36, allocations: 0 / 3.189 GB, free: 83.44 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-06/5.36, allocations: 0 / 3.189 GB, free: 83.44 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.171e-05/5.36, allocations: 334.8 kB / 3.189 GB, free: 83.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/5.36, allocations: 8 kB / 3.189 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/5.36, allocations: 58.81 kB / 3.189 GB, free: 83.01 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.081e-05/5.36, allocations: 70.8 kB / 3.189 GB, free: 82.92 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/5.36, allocations: 0 / 3.189 GB, free: 82.92 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001362/5.36, allocations: 101.2 kB / 3.189 GB, free: 82.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/5.36, allocations: 4 kB / 3.189 GB, free: 82.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/5.36, allocations: 4 kB / 3.189 GB, free: 82.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/5.36, allocations: 8.25 kB / 3.189 GB, free: 82.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.066e-05/5.36, allocations: 19.92 kB / 3.189 GB, free: 82.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/5.36, allocations: 3.938 kB / 3.189 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.937e-05/5.36, allocations: 27.59 kB / 3.189 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/5.36, allocations: 8 kB / 3.189 GB, free: 82.74 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 8.653e-05/5.36, allocations: 209.1 kB / 3.189 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/5.36, allocations: 124.7 kB / 3.19 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/5.36, allocations: 122 kB / 3.19 GB, free: 82.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/5.36, allocations: 192.2 kB / 3.19 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.412e-05/5.36, allocations: 180.2 kB / 3.19 GB, free: 81.89 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.233e-05/5.36, allocations: 176.3 kB / 3.19 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/5.361, allocations: 485.1 kB / 3.191 GB, free: 81.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/5.361, allocations: 104.9 kB / 3.191 GB, free: 81.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-05/5.361, allocations: 108.9 kB / 3.191 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.065e-05/5.361, allocations: 176.3 kB / 3.191 GB, free: 80.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/5.361, allocations: 180.3 kB / 3.191 GB, free: 80.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.251e-05/5.361, allocations: 184.2 kB / 3.191 GB, free: 80.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-05/5.361, allocations: 188.2 kB / 3.192 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.242e-05/5.361, allocations: 327.5 kB / 3.192 GB, free: 79.87 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/5.361, allocations: 205.8 kB / 3.192 GB, free: 79.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.675e-05/5.361, allocations: 185.1 kB / 3.192 GB, free: 79.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/5.361, allocations: 101 kB / 3.192 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/5.361, allocations: 188.1 kB / 3.192 GB, free: 79.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/5.361, allocations: 105 kB / 3.193 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001758/5.361, allocations: 239 kB / 3.193 GB, free: 78.81 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/5.361, allocations: 0 / 3.193 GB, free: 78.81 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003354/5.362, allocations: 59.98 kB / 3.193 GB, free: 78.75 MB / 0.6823 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.00058/5.362, allocations: 0.6675 MB / 3.194 GB, free: 78.08 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.241e-05/5.362, allocations: 19.94 kB / 3.194 GB, free: 78.06 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/5.362, allocations: 0 / 3.194 GB, free: 78.06 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/5.362, allocations: 3.938 kB / 3.194 GB, free: 78.06 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/5.363, allocations: 0.5899 MB / 3.194 GB, free: 77.46 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/5.363, allocations: 450.6 kB / 3.195 GB, free: 77 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/5.364, allocations: 0.7482 MB / 3.195 GB, free: 76.22 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.217e-05/5.364, allocations: 30.27 kB / 3.195 GB, free: 76.19 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/5.364, allocations: 19.44 kB / 3.195 GB, free: 76.17 MB / 0.6823 GB Notification: Performance of SimCode: time 9.32e-07/5.364, allocations: 0 / 3.195 GB, free: 76.17 MB / 0.6823 GB Notification: Performance of Templates: time 0.01175/5.376, allocations: 9.57 MB / 3.205 GB, free: 66.61 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)