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/Buildings 7.0.3-maint.7.0.x/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) 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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.444/1.444, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009573/0.0009573, allocations: 180.1 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008439/0.0008438, allocations: 83.98 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003166, allocations: 9 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.226, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.7189/0.9449, allocations: 171.6 MB / 1.064 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009429/0.9544, allocations: 9.541 MB / 1.074 GB, free: 1.746 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000344/0.9548, allocations: 9.188 kB / 1.074 GB, free: 1.746 MB / 0.698 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.0006353/0.9554, allocations: 154.8 kB / 1.074 GB, free: 1.746 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.9557, allocations: 83.73 kB / 1.074 GB, free: 1.742 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.9559, allocations: 56.55 kB / 1.074 GB, free: 1.742 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005654/0.9565, allocations: 379.2 kB / 1.074 GB, free: 1.742 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004228/0.9569, allocations: 192 kB / 1.074 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.9573, allocations: 132.8 kB / 1.075 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.9575, allocations: 88.48 kB / 1.075 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.9575, allocations: 11.08 kB / 1.075 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.918e-05/0.9575, allocations: 8.562 kB / 1.075 GB, free: 1.699 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.9576, allocations: 54.92 kB / 1.075 GB, free: 1.695 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.9578, allocations: 98.72 kB / 1.075 GB, free: 1.695 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.9581, allocations: 208.9 kB / 1.075 GB, free: 1.676 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.9581, allocations: 0 / 1.075 GB, free: 1.676 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9581, allocations: 0.875 kB / 1.075 GB, free: 1.676 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.9581, allocations: 0 / 1.075 GB, free: 1.676 MB / 0.698 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.0006713/0.9588, allocations: 468.9 kB / 1.075 GB, free: 17.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.9589, allocations: 9.219 kB / 1.076 GB, free: 17.26 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.256e-05/0.9589, allocations: 34.12 kB / 1.076 GB, free: 17.24 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.9593, allocations: 268.8 kB / 1.076 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.9593, allocations: 23.25 kB / 1.076 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.9594, allocations: 23.47 kB / 1.076 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/0.9599, allocations: 326.2 kB / 1.076 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.9599, allocations: 4.344 kB / 1.076 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.9599, allocations: 12.56 kB / 1.076 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.96, allocations: 12.5 kB / 1.076 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.9602, allocations: 142.8 kB / 1.076 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.9616, allocations: 1.816 MB / 1.078 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.618e-05/0.9617, allocations: 173.8 kB / 1.078 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.088e-05/0.9617, allocations: 84.42 kB / 1.078 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.9617, allocations: 75.28 kB / 1.078 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.9618, allocations: 110.2 kB / 1.079 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.9618, allocations: 0 / 1.079 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 9.574e-05/0.9619, allocations: 51.91 kB / 1.079 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.962, allocations: 135.2 kB / 1.079 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005162/0.9625, allocations: 372.2 kB / 1.079 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.9625, allocations: 26.48 kB / 1.079 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.9626, allocations: 170.4 kB / 1.079 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.9627, allocations: 0 / 1.079 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.9627, allocations: 11.62 kB / 1.079 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.9628, allocations: 337.9 kB / 1.08 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.621e-05/0.9629, allocations: 8.047 kB / 1.08 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.716e-05/0.9629, allocations: 35 kB / 1.08 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.777e-05/0.9629, allocations: 48 kB / 1.08 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.963, allocations: 1.859 kB / 1.08 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001625/0.9631, allocations: 89.38 kB / 1.08 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.9632, allocations: 6.5 kB / 1.08 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.9632, allocations: 1.062 kB / 1.08 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.9632, allocations: 1.5 kB / 1.08 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.9633, allocations: 9.703 kB / 1.08 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.9633, allocations: 4.344 kB / 1.08 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.058e-05/0.9633, allocations: 40.44 kB / 1.08 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.9634, allocations: 2.125 kB / 1.08 GB, free: 14.02 MB / 0.7136 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.0001373/0.9635, allocations: 213.6 kB / 1.08 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.9636, allocations: 134.7 kB / 1.08 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.697e-05/0.9637, allocations: 129 kB / 1.08 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-05/0.9637, allocations: 181.3 kB / 1.08 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.734e-05/0.9638, allocations: 181.5 kB / 1.081 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.645e-05/0.9639, allocations: 184.3 kB / 1.081 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.9642, allocations: 491.9 kB / 1.081 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-05/0.9643, allocations: 105.3 kB / 1.081 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.056e-05/0.9643, allocations: 108.1 kB / 1.081 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-05/0.9644, allocations: 185.1 kB / 1.082 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.967e-05/0.9644, allocations: 182.7 kB / 1.082 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.683e-05/0.9645, allocations: 181.3 kB / 1.082 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.537e-05/0.9645, allocations: 180.7 kB / 1.082 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.9647, allocations: 336.7 kB / 1.082 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.9648, allocations: 209.9 kB / 1.083 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.4e-05/0.9649, allocations: 181.6 kB / 1.083 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.962e-05/0.965, allocations: 102.4 kB / 1.083 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.9651, allocations: 181.2 kB / 1.083 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.9651, allocations: 107.5 kB / 1.083 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003212/0.9655, allocations: 265.9 kB / 1.083 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.613e-06/0.9655, allocations: 4 kB / 1.083 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002668/0.9657, allocations: 32.91 kB / 1.083 GB, free: 10.47 MB / 0.7136 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.0001477/0.9659, allocations: 173.2 kB / 1.084 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.498e-05/0.966, allocations: 15.88 kB / 1.084 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.966, allocations: 2.844 kB / 1.084 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.966, allocations: 0 / 1.084 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000886/0.9669, allocations: 0.6217 MB / 1.084 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006902/0.9676, allocations: 0.5168 MB / 1.085 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.9679, allocations: 0.755 MB / 1.086 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.968, allocations: 19.44 kB / 1.086 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of SimCode: time 3.8e-07/0.968, allocations: 2.516 kB / 1.086 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of Templates: time 0.006109/0.9741, allocations: 3.073 MB / 1.089 GB, free: 8.465 MB / 0.7136 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)