Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.00131/0.00131, allocations: 102.7 kB / 16.36 MB, free: 6.301 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.001318/0.001318, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.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.001482/0.001482, allocations: 71.19 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2153, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6108/0.8261, allocations: 174.1 MB / 0.9548 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01043/0.8366, allocations: 9.531 MB / 0.9641 GB, free: 2.414 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000374/0.837, allocations: 4 kB / 0.9641 GB, free: 2.41 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.000792/0.8379, allocations: 190.6 kB / 0.9642 GB, free: 2.223 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0004603/0.8383, allocations: 99.31 kB / 0.9643 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.8386, allocations: 67.91 kB / 0.9644 GB, free: 2.059 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0006338/0.8393, allocations: 318.7 kB / 0.9647 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004524/0.8397, allocations: 209.4 kB / 0.9649 GB, free: 1.543 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005082/0.8403, allocations: 175.3 kB / 0.9651 GB, free: 1.371 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.8405, allocations: 111.5 kB / 0.9652 GB, free: 1.262 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.8406, allocations: 20 kB / 0.9652 GB, free: 1.242 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 6.166e-05/0.8406, allocations: 28 kB / 0.9652 GB, free: 1.215 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.8407, allocations: 79.75 kB / 0.9653 GB, free: 1.137 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.8409, allocations: 131.3 kB / 0.9654 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0004023/0.8413, allocations: 290.8 kB / 0.9657 GB, free: 0.7227 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.8414, allocations: 0 / 0.9657 GB, free: 0.7227 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8414, allocations: 0 / 0.9657 GB, free: 0.7227 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.8414, allocations: 0 / 0.9657 GB, free: 0.7227 MB / 0.7481 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.0006247/0.842, allocations: 0.5096 MB / 0.9662 GB, free: 172 kB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.8421, allocations: 8.969 kB / 0.9662 GB, free: 164 kB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.731e-05/0.8421, allocations: 35.56 kB / 0.9662 GB, free: 128 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004739/0.8426, allocations: 276.6 kB / 0.9665 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.8427, allocations: 20.5 kB / 0.9665 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.8427, allocations: 28 kB / 0.9666 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/0.8432, allocations: 318.4 kB / 0.9669 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.8432, allocations: 4 kB / 0.9669 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.8432, allocations: 12 kB / 0.9669 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.8433, allocations: 11.94 kB / 0.9669 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.8435, allocations: 148.8 kB / 0.967 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.8449, allocations: 1.812 MB / 0.9688 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.927e-05/0.845, allocations: 169.1 kB / 0.969 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.845, allocations: 80.14 kB / 0.969 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.8451, allocations: 83.2 kB / 0.9691 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.613e-05/0.8451, allocations: 114 kB / 0.9692 GB, free: 12.87 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 1.764e-06/0.8452, allocations: 3.938 kB / 0.9692 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 0.0001085/0.8453, allocations: 61.27 kB / 0.9693 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.8453, allocations: 126.7 kB / 0.9694 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.8457, allocations: 373.7 kB / 0.9698 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.8458, allocations: 27.39 kB / 0.9698 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.8459, allocations: 159.9 kB / 0.9699 GB, free: 12.1 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.212e-06/0.8459, allocations: 4 kB / 0.9699 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.8459, allocations: 25.61 kB / 0.97 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.8461, allocations: 334.8 kB / 0.9703 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.8461, allocations: 8 kB / 0.9703 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.067e-05/0.8461, allocations: 32.3 kB / 0.9703 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.627e-05/0.8462, allocations: 52.22 kB / 0.9704 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.8462, allocations: 3.938 kB / 0.9704 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001562/0.8464, allocations: 81.28 kB / 0.9705 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.8464, allocations: 8 kB / 0.9705 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.8464, allocations: 0 / 0.9705 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.8464, allocations: 4 kB / 0.9705 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.487e-05/0.8465, allocations: 8.094 kB / 0.9705 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.8465, allocations: 8 kB / 0.9705 GB, free: 11.49 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.294e-05/0.8466, allocations: 30.28 kB / 0.9705 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.8466, allocations: 4 kB / 0.9705 GB, free: 11.46 MB / 0.7637 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.0001408/0.8468, allocations: 217 kB / 0.9707 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/0.8468, allocations: 130.5 kB / 0.9709 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.12e-05/0.8469, allocations: 134.9 kB / 0.971 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.958e-05/0.847, allocations: 188.3 kB / 0.9712 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.037e-05/0.8471, allocations: 180.2 kB / 0.9713 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.881e-05/0.8471, allocations: 176.3 kB / 0.9715 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.8475, allocations: 489.1 kB / 0.972 GB, free: 9.871 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.953e-05/0.8475, allocations: 112.8 kB / 0.9721 GB, free: 9.754 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.8476, allocations: 101.1 kB / 0.9722 GB, free: 9.648 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.397e-05/0.8477, allocations: 188.2 kB / 0.9724 GB, free: 9.457 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/0.8477, allocations: 180.3 kB / 0.9725 GB, free: 9.273 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.177e-05/0.8478, allocations: 180.3 kB / 0.9727 GB, free: 9.09 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.865e-05/0.8479, allocations: 180.2 kB / 0.9729 GB, free: 8.906 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.848, allocations: 331.5 kB / 0.9732 GB, free: 8.559 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.8482, allocations: 213.6 kB / 0.9734 GB, free: 8.324 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.8483, allocations: 188.2 kB / 0.9736 GB, free: 8.133 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.8484, allocations: 104.9 kB / 0.9737 GB, free: 8.023 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.8485, allocations: 184.2 kB / 0.9738 GB, free: 7.836 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.8485, allocations: 104.9 kB / 0.9739 GB, free: 7.727 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002749/0.8488, allocations: 275.2 kB / 0.9742 GB, free: 7.457 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8488, allocations: 0 / 0.9742 GB, free: 7.457 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.000257/0.8491, allocations: 29.97 kB / 0.9742 GB, free: 7.43 MB / 0.7637 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.0001637/0.8492, allocations: 170.5 kB / 0.9744 GB, free: 7.254 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 9.89e-05/0.8493, allocations: 19.94 kB / 0.9744 GB, free: 7.234 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.8494, allocations: 0 / 0.9744 GB, free: 7.234 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-06/0.8494, allocations: 320 / 0.9744 GB, free: 7.234 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008512/0.8502, allocations: 0.5594 MB / 0.975 GB, free: 6.688 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007328/0.851, allocations: 469.3 kB / 0.9754 GB, free: 6.203 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.8513, allocations: 0.7596 MB / 0.9762 GB, free: 5.418 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.8514, allocations: 19.44 kB / 0.9762 GB, free: 5.402 MB / 0.7637 GB Notification: Performance of SimCode: time 4.81e-07/0.8514, allocations: 0 / 0.9762 GB, free: 5.402 MB / 0.7637 GB Notification: Performance of Templates: time 0.006026/0.8574, allocations: 3.106 MB / 0.9792 GB, free: 2.371 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)