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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005387/0.005387, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001217/0.001217, allocations: 196.3 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 294.4 kB / 290.8 MB, free: 1.754 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9613/0.9613, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 100.1 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1812, allocations: 86.97 MB / 0.7664 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.4869/0.6682, allocations: 148 MB / 0.9109 GB, free: 14.99 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.004599/0.6728, allocations: 4.644 MB / 0.9155 GB, free: 10.34 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.673, allocations: 12.69 kB / 0.9155 GB, free: 10.32 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal 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/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004216/0.6735, allocations: 163.4 kB / 0.9157 GB, free: 10.16 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.6737, allocations: 87.44 kB / 0.9157 GB, free: 10.08 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.6739, allocations: 67.86 kB / 0.9158 GB, free: 10.01 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.6742, allocations: 302.9 kB / 0.9161 GB, free: 9.715 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.6745, allocations: 147.4 kB / 0.9162 GB, free: 9.574 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.6746, allocations: 119.5 kB / 0.9163 GB, free: 9.457 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.6748, allocations: 155.5 kB / 0.9165 GB, free: 9.305 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.6749, allocations: 17.5 kB / 0.9165 GB, free: 9.289 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 2.786e-05/0.6749, allocations: 16 kB / 0.9165 GB, free: 9.273 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 7.087e-05/0.675, allocations: 63.83 kB / 0.9166 GB, free: 9.211 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.6751, allocations: 103.4 kB / 0.9167 GB, free: 9.109 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.6753, allocations: 237.9 kB / 0.9169 GB, free: 8.879 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6753, allocations: 4 kB / 0.9169 GB, free: 8.875 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6753, allocations: 0 / 0.9169 GB, free: 8.875 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.6754, allocations: 0 / 0.9169 GB, free: 8.875 MB / 0.67 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.0004405/0.6758, allocations: 491.7 kB / 0.9174 GB, free: 8.348 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.6758, allocations: 12.03 kB / 0.9174 GB, free: 8.336 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.6759, allocations: 24.66 kB / 0.9174 GB, free: 8.312 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.6762, allocations: 269.5 kB / 0.9177 GB, free: 8.012 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.6763, allocations: 12.81 kB / 0.9177 GB, free: 8 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.6763, allocations: 24.38 kB / 0.9177 GB, free: 7.977 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.6767, allocations: 305.2 kB / 0.918 GB, free: 7.625 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.6767, allocations: 11.88 kB / 0.918 GB, free: 7.613 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.6767, allocations: 16 kB / 0.918 GB, free: 7.598 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.6767, allocations: 4 kB / 0.918 GB, free: 7.594 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.6769, allocations: 119.8 kB / 0.9181 GB, free: 7.477 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.6781, allocations: 1.969 MB / 0.9201 GB, free: 5.398 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 7.099e-05/0.6782, allocations: 177.1 kB / 0.9202 GB, free: 5.215 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.504e-05/0.6782, allocations: 84.14 kB / 0.9203 GB, free: 5.129 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.6782, allocations: 75.28 kB / 0.9204 GB, free: 5.055 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.6783, allocations: 105.8 kB / 0.9205 GB, free: 4.941 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.6783, allocations: 0 / 0.9205 GB, free: 4.941 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 7.747e-05/0.6784, allocations: 53.36 kB / 0.9205 GB, free: 4.883 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.6784, allocations: 126.7 kB / 0.9207 GB, free: 4.746 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.6787, allocations: 336.4 kB / 0.921 GB, free: 4.41 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.6788, allocations: 29.7 kB / 0.921 GB, free: 4.375 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.6789, allocations: 159.7 kB / 0.9212 GB, free: 4.215 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.6789, allocations: 3.938 kB / 0.9212 GB, free: 4.211 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.6789, allocations: 25.7 kB / 0.9212 GB, free: 4.18 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.679, allocations: 330.8 kB / 0.9215 GB, free: 3.848 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.6791, allocations: 8 kB / 0.9215 GB, free: 3.84 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.933e-05/0.6791, allocations: 62.8 kB / 0.9216 GB, free: 3.754 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.857e-05/0.6792, allocations: 75.5 kB / 0.9216 GB, free: 3.656 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.6792, allocations: 0 / 0.9216 GB, free: 3.656 MB / 0.67 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001502/0.6793, allocations: 97.28 kB / 0.9217 GB, free: 3.555 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.6794, allocations: 7.984 kB / 0.9217 GB, free: 3.547 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.6794, allocations: 4.25 kB / 0.9218 GB, free: 3.543 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.6794, allocations: 7.938 kB / 0.9218 GB, free: 3.535 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-05/0.6795, allocations: 15.94 kB / 0.9218 GB, free: 3.52 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.6795, allocations: 4 kB / 0.9218 GB, free: 3.516 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.727e-05/0.6796, allocations: 26.06 kB / 0.9218 GB, free: 3.492 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.6796, allocations: 8 kB / 0.9218 GB, free: 3.484 MB / 0.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.6797, allocations: 217.6 kB / 0.922 GB, free: 3.262 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.579e-05/0.6798, allocations: 124.7 kB / 0.9221 GB, free: 3.133 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.908e-05/0.6798, allocations: 126 kB / 0.9223 GB, free: 2.996 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-05/0.6799, allocations: 188.1 kB / 0.9224 GB, free: 2.805 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.098e-05/0.68, allocations: 184.3 kB / 0.9226 GB, free: 2.617 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-05/0.68, allocations: 180.2 kB / 0.9228 GB, free: 2.434 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.6803, allocations: 473.1 kB / 0.9232 GB, free: 1.914 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.005e-05/0.6804, allocations: 109 kB / 0.9233 GB, free: 1.801 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.6804, allocations: 108.9 kB / 0.9234 GB, free: 1.688 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.868e-05/0.6805, allocations: 180.2 kB / 0.9236 GB, free: 1.504 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/0.6805, allocations: 180.2 kB / 0.9238 GB, free: 1.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.049e-05/0.6806, allocations: 188.4 kB / 0.924 GB, free: 1.129 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.848e-05/0.6806, allocations: 177.1 kB / 0.9241 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.6808, allocations: 331.5 kB / 0.9245 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.6809, allocations: 209.7 kB / 0.9247 GB, free: 380 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/0.681, allocations: 180.3 kB / 0.9248 GB, free: 192 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.85e-05/0.6811, allocations: 104.9 kB / 0.9249 GB, free: 80 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.6811, allocations: 185.5 kB / 0.9251 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.6812, allocations: 105 kB / 0.9252 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002083/0.6814, allocations: 243 kB / 0.9254 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6814, allocations: 0 / 0.9254 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002542/0.6817, allocations: 24 kB / 0.9255 GB, free: 15.52 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001099/0.6818, allocations: 170.5 kB / 0.9256 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 7.733e-05/0.6819, allocations: 36.23 kB / 0.9257 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6819, allocations: 0 / 0.9257 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.6819, allocations: 7.938 kB / 0.9257 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.6825, allocations: 0.5193 MB / 0.9262 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.683, allocations: 397.2 kB / 0.9265 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.6833, allocations: 0.748 MB / 0.9273 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 7.002e-05/0.6833, allocations: 22.3 kB / 0.9273 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.6834, allocations: 19.44 kB / 0.9273 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of SimCode: time 2.31e-07/0.6834, allocations: 0 / 0.9273 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of Templates: time 0.004763/0.6882, allocations: 2.409 MB / 0.9297 GB, free: 11.21 MB / 0.6856 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)