Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.InletToAirMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001108/0.001108, allocations: 193 kB / 16.14 MB, free: 6.703 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.706/1.706, allocations: 205.1 MB / 222 MB, free: 4.766 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.695/1.695, allocations: 292.2 MB / 0.5484 GB, free: 13.7 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.001314/0.001314, allocations: 65.59 kB / 0.6708 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.282, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.8021/1.084, allocations: 171.8 MB / 0.9505 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009294/1.094, allocations: 9.513 MB / 0.9597 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004873/1.094, allocations: 10.12 kB / 0.9598 GB, free: 5.414 MB / 0.7325 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 (2) 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 (2) 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.000737/1.095, allocations: 159.4 kB / 0.9599 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002754/1.095, allocations: 80.14 kB / 0.96 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/1.095, allocations: 59.17 kB / 0.96 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004655/1.096, allocations: 375.2 kB / 0.9604 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/1.096, allocations: 149.6 kB / 0.9605 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003467/1.096, allocations: 142.6 kB / 0.9607 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/1.097, allocations: 105.1 kB / 0.9608 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/1.097, allocations: 17.72 kB / 0.9608 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.487e-05/1.097, allocations: 12.22 kB / 0.9608 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/1.097, allocations: 32.09 kB / 0.9608 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/1.097, allocations: 93.73 kB / 0.9609 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002305/1.097, allocations: 199.7 kB / 0.9611 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.097, allocations: 0 / 0.9611 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/1.097, allocations: 0.5625 kB / 0.9611 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.602e-06/1.097, allocations: 0 / 0.9611 GB, free: 5.352 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008638/1.098, allocations: 477 kB / 0.9616 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/1.098, allocations: 9.062 kB / 0.9616 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.749e-05/1.098, allocations: 35.12 kB / 0.9616 GB, free: 20.92 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/1.098, allocations: 252.6 kB / 0.9619 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/1.099, allocations: 15.25 kB / 0.9619 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/1.099, allocations: 15.91 kB / 0.9619 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/1.099, allocations: 232.9 kB / 0.9621 GB, free: 20.59 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/1.099, allocations: 1.188 kB / 0.9621 GB, free: 20.59 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/1.099, allocations: 9.688 kB / 0.9621 GB, free: 20.59 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/1.099, allocations: 11.42 kB / 0.9621 GB, free: 20.59 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/1.099, allocations: 87.28 kB / 0.9622 GB, free: 20.59 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/1.101, allocations: 1.438 MB / 0.9636 GB, free: 19.37 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 8.084e-05/1.101, allocations: 169 kB / 0.9638 GB, free: 19.2 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/1.101, allocations: 80.83 kB / 0.9639 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/1.101, allocations: 76.48 kB / 0.9639 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/1.101, allocations: 118.2 kB / 0.964 GB, free: 18.92 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 2.244e-06/1.101, allocations: 0.5 kB / 0.964 GB, free: 18.92 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 0.0001057/1.101, allocations: 48.7 kB / 0.9641 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/1.101, allocations: 127.3 kB / 0.9642 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/1.101, allocations: 286.2 kB / 0.9645 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/1.101, allocations: 25.7 kB / 0.9645 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/1.102, allocations: 152.2 kB / 0.9646 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.117e-06/1.102, allocations: 4.531 kB / 0.9647 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/1.102, allocations: 16.47 kB / 0.9647 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.102, allocations: 335.3 kB / 0.965 GB, free: 18.18 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/1.102, allocations: 6.969 kB / 0.965 GB, free: 18.18 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/1.102, allocations: 26.25 kB / 0.965 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.475e-05/1.102, allocations: 39.31 kB / 0.9651 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.102, allocations: 0.5938 kB / 0.9651 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001619/1.102, allocations: 73.34 kB / 0.9651 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/1.102, allocations: 5.344 kB / 0.9651 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/1.102, allocations: 1.094 kB / 0.9651 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/1.102, allocations: 1.344 kB / 0.9651 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.037e-05/1.102, allocations: 10.03 kB / 0.9651 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/1.102, allocations: 1.656 kB / 0.9651 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.145e-05/1.102, allocations: 26.66 kB / 0.9652 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/1.102, allocations: 4.062 kB / 0.9652 GB, free: 18.05 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0002628/1.103, allocations: 203.5 kB / 0.9654 GB, free: 17.86 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.619e-05/1.103, allocations: 126.4 kB / 0.9655 GB, free: 17.74 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.887e-05/1.103, allocations: 123.8 kB / 0.9656 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.454e-05/1.103, allocations: 184.8 kB / 0.9658 GB, free: 17.44 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.307e-05/1.103, allocations: 182.9 kB / 0.966 GB, free: 17.26 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.802e-05/1.103, allocations: 179.3 kB / 0.9661 GB, free: 17.08 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/1.103, allocations: 470.8 kB / 0.9666 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.502e-05/1.103, allocations: 106.4 kB / 0.9667 GB, free: 16.53 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/1.103, allocations: 107.3 kB / 0.9668 GB, free: 16.42 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.381e-05/1.104, allocations: 180.3 kB / 0.967 GB, free: 16.24 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.631e-05/1.104, allocations: 179.1 kB / 0.9671 GB, free: 16.06 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.687e-05/1.104, allocations: 189 kB / 0.9673 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.36e-05/1.104, allocations: 179.2 kB / 0.9675 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/1.104, allocations: 331.3 kB / 0.9678 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/1.104, allocations: 199.4 kB / 0.968 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/1.104, allocations: 187.7 kB / 0.9682 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/1.104, allocations: 102 kB / 0.9683 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/1.104, allocations: 180.3 kB / 0.9684 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/1.104, allocations: 110 kB / 0.9685 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002809/1.105, allocations: 210.6 kB / 0.9687 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.105, allocations: 5.031 kB / 0.9687 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002673/1.105, allocations: 27.06 kB / 0.9688 GB, free: 14.49 MB / 0.7481 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.0001439/1.105, allocations: 171.1 kB / 0.9689 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 7.94e-05/1.105, allocations: 17.22 kB / 0.9689 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.105, allocations: 256 / 0.9689 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/1.105, allocations: 6.906 kB / 0.969 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/1.106, allocations: 0.5943 MB / 0.9695 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005663/1.107, allocations: 398.7 kB / 0.9699 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/1.107, allocations: 0.7242 MB / 0.9706 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001031/1.107, allocations: 31.17 kB / 0.9707 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.453e-05/1.107, allocations: 17.44 kB / 0.9707 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of SimCode: time 7.62e-07/1.107, allocations: 0 / 0.9707 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of Templates: time 0.00616/1.114, allocations: 2.294 MB / 0.9729 GB, free: 12.64 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)