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.001673/0.001673, allocations: 107.3 kB / 16.29 MB, free: 6.43 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.001964/0.001964, allocations: 184 kB / 17.22 MB, free: 5.934 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.684/1.684, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.833/1.833, allocations: 292.3 MB / 0.5495 GB, free: 17.74 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.002133/0.002133, allocations: 67.91 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2941, allocations: 114.5 MB / 0.7841 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.7175/1.012, allocations: 174.1 MB / 0.9541 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.009372/1.021, allocations: 9.511 MB / 0.9633 GB, free: 3.109 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004566/1.022, allocations: 11.94 kB / 0.9633 GB, free: 3.098 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.0007387/1.022, allocations: 199.8 kB / 0.9635 GB, free: 2.902 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0002886/1.023, allocations: 91.31 kB / 0.9636 GB, free: 2.812 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/1.023, allocations: 67.91 kB / 0.9637 GB, free: 2.746 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0004224/1.023, allocations: 322.7 kB / 0.964 GB, free: 2.43 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003734/1.024, allocations: 208.8 kB / 0.9642 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003627/1.024, allocations: 172.8 kB / 0.9644 GB, free: 2.059 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/1.024, allocations: 123.4 kB / 0.9645 GB, free: 1.938 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/1.024, allocations: 24 kB / 0.9645 GB, free: 1.914 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 4.056e-05/1.024, allocations: 20 kB / 0.9645 GB, free: 1.895 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 8.933e-05/1.024, allocations: 67.83 kB / 0.9646 GB, free: 1.828 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/1.025, allocations: 131.3 kB / 0.9647 GB, free: 1.699 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0002981/1.025, allocations: 294.8 kB / 0.965 GB, free: 1.41 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.025, allocations: 0 / 0.965 GB, free: 1.41 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.883e-06/1.025, allocations: 0 / 0.965 GB, free: 1.41 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.705e-06/1.025, allocations: 4 kB / 0.965 GB, free: 1.406 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.0005624/1.025, allocations: 0.5058 MB / 0.9655 GB, free: 0.8555 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/1.026, allocations: 8.031 kB / 0.9655 GB, free: 0.8477 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/1.026, allocations: 35.56 kB / 0.9655 GB, free: 0.8125 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/1.026, allocations: 272.5 kB / 0.9658 GB, free: 0.5078 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/1.026, allocations: 17.19 kB / 0.9658 GB, free: 500 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/1.026, allocations: 28.84 kB / 0.9658 GB, free: 472 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/1.027, allocations: 316 kB / 0.9661 GB, free: 108 kB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/1.027, allocations: 7.938 kB / 0.9661 GB, free: 100 kB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/1.027, allocations: 12 kB / 0.9662 GB, free: 88 kB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/1.027, allocations: 11.94 kB / 0.9662 GB, free: 76 kB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/1.027, allocations: 143.7 kB / 0.9663 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/1.028, allocations: 1.817 MB / 0.9681 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.169e-05/1.028, allocations: 169.1 kB / 0.9682 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/1.028, allocations: 80.14 kB / 0.9683 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/1.029, allocations: 75.28 kB / 0.9684 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/1.029, allocations: 117.7 kB / 0.9685 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 2.825e-06/1.029, allocations: 7.984 kB / 0.9685 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 0.0001031/1.029, allocations: 53.33 kB / 0.9686 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/1.029, allocations: 126.7 kB / 0.9687 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004372/1.029, allocations: 373.7 kB / 0.969 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/1.029, allocations: 25.7 kB / 0.9691 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/1.029, allocations: 163.8 kB / 0.9692 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 5.39e-06/1.029, allocations: 4 kB / 0.9692 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/1.029, allocations: 23.59 kB / 0.9692 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.03, allocations: 338.8 kB / 0.9696 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/1.03, allocations: 5.562 kB / 0.9696 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.701e-05/1.03, allocations: 40.22 kB / 0.9696 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.999e-05/1.03, allocations: 48.23 kB / 0.9697 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.03, allocations: 0 / 0.9697 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001574/1.03, allocations: 85.28 kB / 0.9697 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.03, allocations: 8 kB / 0.9697 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.03, allocations: 0 / 0.9697 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/1.03, allocations: 0 / 0.9697 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.024e-05/1.03, allocations: 16.09 kB / 0.9698 GB, free: 12.19 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/1.03, allocations: 7.984 kB / 0.9698 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.793e-05/1.03, allocations: 29.03 kB / 0.9698 GB, free: 12.15 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/1.03, allocations: 112 / 0.9698 GB, free: 12.15 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.000141/1.03, allocations: 217 kB / 0.97 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/1.03, allocations: 132.6 kB / 0.9701 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.506e-05/1.03, allocations: 127 kB / 0.9703 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.99e-05/1.031, allocations: 184.3 kB / 0.9704 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.319e-05/1.031, allocations: 180.2 kB / 0.9706 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.828e-05/1.031, allocations: 180.2 kB / 0.9708 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/1.031, allocations: 493 kB / 0.9712 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-05/1.031, allocations: 102.8 kB / 0.9713 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/1.031, allocations: 108.9 kB / 0.9714 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.719e-05/1.031, allocations: 184.2 kB / 0.9716 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.182e-05/1.031, allocations: 180.5 kB / 0.9718 GB, free: 9.977 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-05/1.031, allocations: 193.9 kB / 0.972 GB, free: 9.781 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.375e-05/1.031, allocations: 176.3 kB / 0.9721 GB, free: 9.602 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/1.032, allocations: 331.5 kB / 0.9725 GB, free: 9.254 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/1.032, allocations: 213.6 kB / 0.9727 GB, free: 9.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/1.032, allocations: 180.2 kB / 0.9728 GB, free: 8.836 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/1.032, allocations: 109 kB / 0.9729 GB, free: 8.723 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.641e-05/1.032, allocations: 176.3 kB / 0.9731 GB, free: 8.543 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/1.032, allocations: 108.9 kB / 0.9732 GB, free: 8.43 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002916/1.032, allocations: 271.2 kB / 0.9735 GB, free: 8.164 MB / 0.7637 GB Notification: Performance of sort global known variables: time 5.31e-07/1.032, allocations: 0 / 0.9735 GB, free: 8.164 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0002721/1.033, allocations: 31.94 kB / 0.9735 GB, free: 8.133 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.000167/1.033, allocations: 170.5 kB / 0.9737 GB, free: 7.957 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0001023/1.033, allocations: 23.92 kB / 0.9737 GB, free: 7.934 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.033, allocations: 320 / 0.9737 GB, free: 7.934 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/1.033, allocations: 4 kB / 0.9737 GB, free: 7.93 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009181/1.034, allocations: 0.5452 MB / 0.9742 GB, free: 7.395 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006698/1.035, allocations: 451.4 kB / 0.9747 GB, free: 6.93 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/1.035, allocations: 0.7558 MB / 0.9754 GB, free: 6.148 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 9.24e-05/1.035, allocations: 30.97 kB / 0.9754 GB, free: 6.117 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/1.035, allocations: 19.44 kB / 0.9754 GB, free: 6.102 MB / 0.7637 GB Notification: Performance of SimCode: time 2.5e-07/1.035, allocations: 0 / 0.9754 GB, free: 6.102 MB / 0.7637 GB Notification: Performance of Templates: time 0.006785/1.042, allocations: 3.158 MB / 0.9785 GB, free: 3.047 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)