Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001271/0.001271, allocations: 190.1 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.1 MB / 222.1 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.709/1.709, allocations: 251.7 MB / 0.5089 GB, free: 3.258 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 67.91 kB / 0.6217 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5778/0.5793, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2128/0.7922, allocations: 171.8 MB / 0.8918 GB, free: 0.6367 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008901/0.8011, allocations: 9.449 MB / 0.901 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000352/0.8015, allocations: 11.94 kB / 0.901 GB, free: 7.148 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/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.0006282/0.8022, allocations: 167 kB / 0.9012 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.8025, allocations: 83.5 kB / 0.9013 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.8027, allocations: 55.95 kB / 0.9013 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000378/0.8031, allocations: 326.6 kB / 0.9016 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003456/0.8034, allocations: 208.9 kB / 0.9018 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00033/0.8038, allocations: 163.4 kB / 0.902 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.8039, allocations: 127.4 kB / 0.9021 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.8039, allocations: 24 kB / 0.9021 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.57e-05/0.804, allocations: 20 kB / 0.9021 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.803e-05/0.8041, allocations: 83.73 kB / 0.9022 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.8042, allocations: 123.4 kB / 0.9023 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.8045, allocations: 277 kB / 0.9026 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.8045, allocations: 4 kB / 0.9026 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8045, allocations: 0 / 0.9026 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.8045, allocations: 0 / 0.9026 GB, free: 5.512 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005614/0.8051, allocations: 0.5107 MB / 0.9031 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.8052, allocations: 8.031 kB / 0.9031 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.237e-05/0.8052, allocations: 35.66 kB / 0.9031 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.8055, allocations: 262.4 kB / 0.9034 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.8056, allocations: 20.56 kB / 0.9034 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.8056, allocations: 24 kB / 0.9034 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/0.8061, allocations: 324 kB / 0.9037 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.8061, allocations: 3.938 kB / 0.9037 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.8061, allocations: 12 kB / 0.9038 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.8061, allocations: 8 kB / 0.9038 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.8063, allocations: 147.7 kB / 0.9039 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.8078, allocations: 1.82 MB / 0.9057 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.542e-05/0.8079, allocations: 165.1 kB / 0.9058 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.808, allocations: 80.14 kB / 0.9059 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.808, allocations: 83.16 kB / 0.906 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.87e-05/0.8081, allocations: 109.8 kB / 0.9061 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.8081, allocations: 4 kB / 0.9061 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001129/0.8082, allocations: 57.41 kB / 0.9062 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/0.8083, allocations: 126.7 kB / 0.9063 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004163/0.8087, allocations: 377.6 kB / 0.9066 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.8087, allocations: 25.7 kB / 0.9067 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.8089, allocations: 159.8 kB / 0.9068 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-06/0.8089, allocations: 3.938 kB / 0.9068 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.809, allocations: 17.72 kB / 0.9068 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.8091, allocations: 342.8 kB / 0.9072 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.865e-05/0.8092, allocations: 8 kB / 0.9072 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.461e-05/0.8092, allocations: 36.23 kB / 0.9072 GB, free: 484 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.091e-05/0.8093, allocations: 52.27 kB / 0.9073 GB, free: 416 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8093, allocations: 0 / 0.9073 GB, free: 416 kB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001699/0.8095, allocations: 85.28 kB / 0.9073 GB, free: 324 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.8095, allocations: 15.92 kB / 0.9074 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.8095, allocations: 0 / 0.9074 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.8095, allocations: 0 / 0.9074 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.776e-05/0.8096, allocations: 12.16 kB / 0.9074 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.8096, allocations: 4 kB / 0.9074 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.041e-05/0.8097, allocations: 27.53 kB / 0.9074 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.8097, allocations: 4 kB / 0.9074 GB, free: 260 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001481/0.8099, allocations: 213.1 kB / 0.9076 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.4379/1.248, allocations: 144.4 kB / 0.9077 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/1.248, allocations: 122.9 kB / 0.9079 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.275e-05/1.248, allocations: 182.9 kB / 0.908 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.016e-05/1.248, allocations: 184.1 kB / 0.9082 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.096e-05/1.248, allocations: 178.4 kB / 0.9084 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005317/1.249, allocations: 488.4 kB / 0.9088 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.376e-05/1.249, allocations: 108.5 kB / 0.9089 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-05/1.249, allocations: 110.8 kB / 0.9091 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.202e-05/1.249, allocations: 179.4 kB / 0.9092 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-05/1.249, allocations: 178.8 kB / 0.9094 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.615e-05/1.249, allocations: 182.1 kB / 0.9096 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.343e-05/1.249, allocations: 178.2 kB / 0.9097 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/1.249, allocations: 334.8 kB / 0.9101 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/1.25, allocations: 208.4 kB / 0.9103 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/1.25, allocations: 186.2 kB / 0.9104 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/1.25, allocations: 103.6 kB / 0.9105 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/1.25, allocations: 186.6 kB / 0.9107 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/1.25, allocations: 108.5 kB / 0.9108 GB, free: 184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005403/1.25, allocations: 269.6 kB / 0.9111 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/1.25, allocations: 0 / 0.9111 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000362/1.251, allocations: 31.06 kB / 0.9111 GB, free: 183.9 MB / 0.7169 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.0001714/1.251, allocations: 172.1 kB / 0.9113 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001552/1.251, allocations: 18.78 kB / 0.9113 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.251, allocations: 0 / 0.9113 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.886e-06/1.251, allocations: 0 / 0.9113 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009973/1.252, allocations: 0.5583 MB / 0.9118 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/1.253, allocations: 498.6 kB / 0.9123 GB, free: 183 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/1.254, allocations: 0.7529 MB / 0.913 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002189/1.254, allocations: 33.52 kB / 0.9131 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/1.254, allocations: 19.25 kB / 0.9131 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of SimCode: time 5.61e-07/1.254, allocations: 0 / 0.9131 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.01609/1.27, allocations: 3.15 MB / 0.9162 GB, free: 182.1 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)