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.001207/0.001206, allocations: 110.2 kB / 16.41 MB, free: 6.477 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.001149/0.00115, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002232/0.002232, allocations: 300.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9182/0.9182, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 99.84 kB / 0.6822 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4929/0.4949, allocations: 86.97 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1604/0.6554, allocations: 148 MB / 0.9116 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004857/0.6603, allocations: 4.646 MB / 0.9162 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003115/0.6606, allocations: 11.94 kB / 0.9162 GB, free: 10.71 MB / 0.6856 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.0005685/0.6612, allocations: 166.9 kB / 0.9163 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.6615, allocations: 87.39 kB / 0.9164 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.6617, allocations: 67.92 kB / 0.9165 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.662, allocations: 306.8 kB / 0.9168 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002885/0.6623, allocations: 151.3 kB / 0.9169 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.6625, allocations: 115.5 kB / 0.917 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.6627, allocations: 147.5 kB / 0.9172 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.6628, allocations: 16 kB / 0.9172 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 3.084e-05/0.6628, allocations: 16 kB / 0.9172 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 7.622e-05/0.6629, allocations: 63.81 kB / 0.9172 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.663, allocations: 107.4 kB / 0.9174 GB, free: 9.484 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.6632, allocations: 233.6 kB / 0.9176 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6632, allocations: 0 / 0.9176 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6632, allocations: 4 kB / 0.9176 GB, free: 9.254 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.6633, allocations: 0 / 0.9176 GB, free: 9.254 MB / 0.6856 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.0004889/0.6638, allocations: 491.1 kB / 0.918 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.6638, allocations: 8.031 kB / 0.9181 GB, free: 8.719 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.6639, allocations: 28.66 kB / 0.9181 GB, free: 8.691 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.6642, allocations: 272.4 kB / 0.9183 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.6642, allocations: 16.81 kB / 0.9184 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.6643, allocations: 20.38 kB / 0.9184 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003782/0.6647, allocations: 309 kB / 0.9187 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.6647, allocations: 0 / 0.9187 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.6647, allocations: 12 kB / 0.9187 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.6647, allocations: 8 kB / 0.9187 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.6649, allocations: 127.7 kB / 0.9188 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.6662, allocations: 1.961 MB / 0.9207 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 7.944e-05/0.6663, allocations: 169.1 kB / 0.9209 GB, free: 5.605 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.6663, allocations: 80.14 kB / 0.921 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.6663, allocations: 83.27 kB / 0.921 GB, free: 5.441 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.6664, allocations: 117.9 kB / 0.9212 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.6664, allocations: 0 / 0.9212 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of matching and sorting (n=0): time 9.318e-05/0.6665, allocations: 57.3 kB / 0.9212 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.6665, allocations: 126.7 kB / 0.9213 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.6669, allocations: 332.4 kB / 0.9216 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.6669, allocations: 25.7 kB / 0.9217 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.667, allocations: 163.7 kB / 0.9218 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-06/0.667, allocations: 0 / 0.9218 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.6671, allocations: 21.72 kB / 0.9219 GB, free: 4.562 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.6672, allocations: 334.8 kB / 0.9222 GB, free: 4.227 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/0.6672, allocations: 8 kB / 0.9222 GB, free: 4.219 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.243e-05/0.6672, allocations: 54.86 kB / 0.9222 GB, free: 4.141 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.125e-05/0.6673, allocations: 70.75 kB / 0.9223 GB, free: 4.047 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.6673, allocations: 7.938 kB / 0.9223 GB, free: 4.039 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001725/0.6675, allocations: 105.2 kB / 0.9224 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.6675, allocations: 8 kB / 0.9224 GB, free: 3.922 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.6675, allocations: 0 / 0.9224 GB, free: 3.922 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.6676, allocations: 7.938 kB / 0.9224 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.078e-05/0.6676, allocations: 19.97 kB / 0.9224 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6677, allocations: 0 / 0.9224 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.369e-05/0.6678, allocations: 27.94 kB / 0.9225 GB, free: 3.867 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.6678, allocations: 4 kB / 0.9225 GB, free: 3.863 MB / 0.6856 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.0001341/0.6679, allocations: 221 kB / 0.9227 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/0.668, allocations: 124.7 kB / 0.9228 GB, free: 3.508 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.115e-05/0.6681, allocations: 133.9 kB / 0.9229 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-05/0.6681, allocations: 176.3 kB / 0.9231 GB, free: 3.188 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.782e-05/0.6682, allocations: 180.3 kB / 0.9233 GB, free: 3.004 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.325e-05/0.6682, allocations: 180.2 kB / 0.9234 GB, free: 2.82 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.6685, allocations: 477.1 kB / 0.9239 GB, free: 2.297 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-05/0.6686, allocations: 104.9 kB / 0.924 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.554e-05/0.6686, allocations: 112.9 kB / 0.9241 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.695e-05/0.6687, allocations: 180.3 kB / 0.9243 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.564e-05/0.6688, allocations: 188.1 kB / 0.9245 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.374e-05/0.6688, allocations: 184.3 kB / 0.9246 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.655e-05/0.6689, allocations: 180.2 kB / 0.9248 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.669, allocations: 327.5 kB / 0.9251 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.6691, allocations: 213.7 kB / 0.9253 GB, free: 0.7461 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.692e-05/0.6692, allocations: 180.2 kB / 0.9255 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-05/0.6693, allocations: 104.9 kB / 0.9256 GB, free: 464 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.6694, allocations: 180.6 kB / 0.9258 GB, free: 276 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.6694, allocations: 101 kB / 0.9259 GB, free: 168 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002213/0.6697, allocations: 243 kB / 0.9261 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6697, allocations: 4 kB / 0.9261 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002479/0.6699, allocations: 24 kB / 0.9261 GB, free: 15.9 MB / 0.7012 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.0001281/0.6701, allocations: 174.5 kB / 0.9263 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 8.738e-05/0.6701, allocations: 23.94 kB / 0.9263 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.6702, allocations: 0 / 0.9263 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.6702, allocations: 32 / 0.9263 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006733/0.6708, allocations: 0.5163 MB / 0.9268 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.6714, allocations: 437.8 kB / 0.9272 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.6717, allocations: 0.744 MB / 0.928 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.6717, allocations: 19.44 kB / 0.928 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of SimCode: time 2.6e-07/0.6717, allocations: 0 / 0.928 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of Templates: time 0.004143/0.6759, allocations: 2.629 MB / 0.9305 GB, free: 11.32 MB / 0.7012 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)