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.001141/0.001141, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 194.5 kB / 16.53 MB, free: 6.66 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.601/1.601, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.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.874/1.874, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.00143/0.00143, allocations: 73.06 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3198, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.7935/1.113, allocations: 174 MB / 0.9533 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0101/1.123, allocations: 9.524 MB / 0.9626 GB, free: 364 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005631/1.124, allocations: 11.67 kB / 0.9626 GB, free: 360 kB / 0.7169 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.0008064/1.125, allocations: 189.6 kB / 0.9628 GB, free: 284 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003759/1.125, allocations: 91.03 kB / 0.9629 GB, free: 244 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/1.126, allocations: 63.59 kB / 0.963 GB, free: 244 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004517/1.126, allocations: 332.6 kB / 0.9633 GB, free: 172 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004883/1.127, allocations: 207.7 kB / 0.9635 GB, free: 132 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004045/1.127, allocations: 166.6 kB / 0.9636 GB, free: 120 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/1.127, allocations: 118.1 kB / 0.9638 GB, free: 120 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.884e-05/1.127, allocations: 21.97 kB / 0.9638 GB, free: 120 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.308e-05/1.127, allocations: 21.53 kB / 0.9638 GB, free: 120 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/1.127, allocations: 73.83 kB / 0.9639 GB, free: 120 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001842/1.128, allocations: 132.6 kB / 0.964 GB, free: 116 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003891/1.128, allocations: 274.9 kB / 0.9643 GB, free: 96 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/1.128, allocations: 5.156 kB / 0.9643 GB, free: 92 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/1.128, allocations: 0 / 0.9643 GB, free: 92 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.908e-06/1.128, allocations: 0 / 0.9643 GB, free: 92 kB / 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.0007154/1.129, allocations: 0.5097 MB / 0.9648 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/1.129, allocations: 9.844 kB / 0.9648 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.269e-05/1.129, allocations: 37.78 kB / 0.9648 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/1.129, allocations: 263.3 kB / 0.9651 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/1.129, allocations: 26.39 kB / 0.9651 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/1.129, allocations: 23.22 kB / 0.9651 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005811/1.13, allocations: 326.5 kB / 0.9654 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/1.13, allocations: 5.312 kB / 0.9654 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/1.13, allocations: 14.28 kB / 0.9654 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/1.13, allocations: 6.719 kB / 0.9654 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/1.13, allocations: 142.8 kB / 0.9656 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/1.132, allocations: 1.818 MB / 0.9674 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.923e-05/1.132, allocations: 171 kB / 0.9675 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/1.132, allocations: 84.14 kB / 0.9676 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/1.132, allocations: 75.28 kB / 0.9677 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/1.132, allocations: 113.4 kB / 0.9678 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/1.132, allocations: 1.203 kB / 0.9678 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001243/1.132, allocations: 57.77 kB / 0.9678 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/1.132, allocations: 127.7 kB / 0.968 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004814/1.133, allocations: 371.4 kB / 0.9683 GB, free: 13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/1.133, allocations: 29.7 kB / 0.9683 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/1.133, allocations: 168 kB / 0.9685 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.099e-06/1.133, allocations: 1.688 kB / 0.9685 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/1.133, allocations: 17.47 kB / 0.9685 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.133, allocations: 337.7 kB / 0.9688 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/1.133, allocations: 5.812 kB / 0.9688 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.886e-05/1.133, allocations: 37.66 kB / 0.9689 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.687e-05/1.133, allocations: 47.36 kB / 0.9689 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.133, allocations: 1.562 kB / 0.9689 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000194/1.134, allocations: 93.67 kB / 0.969 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/1.134, allocations: 5.562 kB / 0.969 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.134, allocations: 1.625 kB / 0.969 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/1.134, allocations: 1.594 kB / 0.969 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.608e-05/1.134, allocations: 11.78 kB / 0.969 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/1.134, allocations: 5 kB / 0.969 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.497e-05/1.134, allocations: 23.53 kB / 0.9691 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/1.134, allocations: 3.469 kB / 0.9691 GB, free: 12.37 MB / 0.7325 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.0001626/1.134, allocations: 222.2 kB / 0.9693 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-05/1.134, allocations: 134.2 kB / 0.9694 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.122e-05/1.134, allocations: 128.9 kB / 0.9695 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.776e-05/1.134, allocations: 183.1 kB / 0.9697 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.814e-05/1.134, allocations: 180.2 kB / 0.9699 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.29e-05/1.134, allocations: 183.5 kB / 0.9701 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/1.135, allocations: 492.2 kB / 0.9705 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.475e-05/1.135, allocations: 106 kB / 0.9706 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/1.135, allocations: 109.9 kB / 0.9707 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.716e-05/1.135, allocations: 179.4 kB / 0.9709 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.406e-05/1.135, allocations: 181.3 kB / 0.9711 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.815e-05/1.135, allocations: 186.5 kB / 0.9712 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-05/1.135, allocations: 183.9 kB / 0.9714 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/1.135, allocations: 332.6 kB / 0.9717 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/1.136, allocations: 215.2 kB / 0.9719 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/1.136, allocations: 184 kB / 0.9721 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/1.136, allocations: 109.1 kB / 0.9722 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/1.136, allocations: 179.3 kB / 0.9724 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/1.136, allocations: 108.5 kB / 0.9725 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003203/1.136, allocations: 270 kB / 0.9728 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.573e-06/1.136, allocations: 0 / 0.9728 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002938/1.137, allocations: 29.03 kB / 0.9728 GB, free: 8.77 MB / 0.7325 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.0001741/1.137, allocations: 174.7 kB / 0.973 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.995e-05/1.137, allocations: 19.12 kB / 0.973 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.137, allocations: 0 / 0.973 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.113e-06/1.137, allocations: 1.125 kB / 0.973 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009613/1.138, allocations: 0.5524 MB / 0.9735 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008053/1.139, allocations: 445.4 kB / 0.9739 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/1.139, allocations: 0.7538 MB / 0.9747 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001185/1.139, allocations: 31.14 kB / 0.9747 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/1.139, allocations: 19.91 kB / 0.9747 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/1.139, allocations: 1.203 kB / 0.9747 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of Templates: time 0.01179/1.151, allocations: 3.166 MB / 0.9778 GB, free: 6.922 MB / 0.7325 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)