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.001358/0.001358, allocations: 106.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.001537/0.001537, 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.484/1.484, 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 2.03/2.03, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001484/0.001484, allocations: 68.38 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2928, allocations: 114.6 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.6551/0.9479, allocations: 174 MB / 0.954 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01041/0.9584, allocations: 9.507 MB / 0.9633 GB, free: 2.977 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005591/0.959, allocations: 11.94 kB / 0.9633 GB, free: 2.965 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 (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.0009709/0.9601, allocations: 194.7 kB / 0.9635 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0003983/0.9605, allocations: 87.36 kB / 0.9636 GB, free: 2.688 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.9607, allocations: 63.92 kB / 0.9636 GB, free: 2.625 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0004454/0.9612, allocations: 326.6 kB / 0.9639 GB, free: 2.305 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003676/0.9615, allocations: 148.5 kB / 0.9641 GB, free: 2.156 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004382/0.962, allocations: 159.4 kB / 0.9642 GB, free: 2 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.9621, allocations: 103.5 kB / 0.9643 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.9622, allocations: 16 kB / 0.9643 GB, free: 1.883 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 3.24e-05/0.9622, allocations: 16 kB / 0.9644 GB, free: 1.867 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 4.182e-05/0.9623, allocations: 39.84 kB / 0.9644 GB, free: 1.828 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.9624, allocations: 107.4 kB / 0.9645 GB, free: 1.723 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.9626, allocations: 207.2 kB / 0.9647 GB, free: 1.52 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9626, allocations: 0 / 0.9647 GB, free: 1.52 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.744e-06/0.9626, allocations: 0.75 kB / 0.9647 GB, free: 1.52 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.9626, allocations: 0 / 0.9647 GB, free: 1.52 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004804/0.9631, allocations: 481.9 kB / 0.9652 GB, free: 1.004 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.9632, allocations: 8.031 kB / 0.9652 GB, free: 0.9961 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.9632, allocations: 27.66 kB / 0.9652 GB, free: 0.9688 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.9635, allocations: 250.5 kB / 0.9654 GB, free: 0.6836 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.9635, allocations: 12.44 kB / 0.9654 GB, free: 0.6719 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.9636, allocations: 20 kB / 0.9655 GB, free: 0.6523 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.9639, allocations: 233.1 kB / 0.9657 GB, free: 404 kB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.9639, allocations: 4.625 kB / 0.9657 GB, free: 400 kB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.964, allocations: 8 kB / 0.9657 GB, free: 392 kB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.964, allocations: 11.94 kB / 0.9657 GB, free: 380 kB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.9641, allocations: 83.84 kB / 0.9658 GB, free: 296 kB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.9654, allocations: 1.433 MB / 0.9672 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.9655, allocations: 173.1 kB / 0.9674 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.9655, allocations: 80.14 kB / 0.9674 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/0.9656, allocations: 75.28 kB / 0.9675 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.697e-05/0.9656, allocations: 118.3 kB / 0.9676 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 3.206e-06/0.9657, allocations: 112 / 0.9676 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 0.0001093/0.9658, allocations: 59.59 kB / 0.9677 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.9658, allocations: 126.7 kB / 0.9678 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.9662, allocations: 283 kB / 0.9681 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.9662, allocations: 25.7 kB / 0.9681 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.9663, allocations: 147.9 kB / 0.9682 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-06/0.9663, allocations: 0 / 0.9682 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.9664, allocations: 21.7 kB / 0.9682 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.9665, allocations: 330.8 kB / 0.9686 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.9665, allocations: 7.984 kB / 0.9686 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.582e-05/0.9666, allocations: 31.38 kB / 0.9686 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.664e-05/0.9666, allocations: 31.44 kB / 0.9686 GB, free: 13.19 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.9666, allocations: 1.062 kB / 0.9686 GB, free: 13.19 MB / 0.7637 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001317/0.9668, allocations: 77.28 kB / 0.9687 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.9668, allocations: 8 kB / 0.9687 GB, free: 13.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.9668, allocations: 0 / 0.9687 GB, free: 13.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.9668, allocations: 96 / 0.9687 GB, free: 13.1 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.209e-05/0.9669, allocations: 8 kB / 0.9687 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.9669, allocations: 4.125 kB / 0.9687 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.089e-05/0.967, allocations: 27.67 kB / 0.9688 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.967, allocations: 4 kB / 0.9688 GB, free: 13.06 MB / 0.7637 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.0001163/0.9671, allocations: 205 kB / 0.969 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.169e-05/0.9672, allocations: 120.7 kB / 0.9691 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.581e-05/0.9673, allocations: 123.5 kB / 0.9692 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.974e-05/0.9674, allocations: 188.2 kB / 0.9694 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.82e-05/0.9674, allocations: 177.8 kB / 0.9695 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.299e-05/0.9675, allocations: 176.3 kB / 0.9697 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.9678, allocations: 477 kB / 0.9702 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.283e-05/0.9679, allocations: 105 kB / 0.9703 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.9679, allocations: 104.9 kB / 0.9704 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.066e-05/0.968, allocations: 180.3 kB / 0.9705 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.925e-05/0.9681, allocations: 180.3 kB / 0.9707 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.705e-05/0.9682, allocations: 192.2 kB / 0.9709 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.893e-05/0.9683, allocations: 176.3 kB / 0.9711 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.9684, allocations: 335.7 kB / 0.9714 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.9686, allocations: 203.5 kB / 0.9716 GB, free: 9.988 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.9687, allocations: 184.3 kB / 0.9717 GB, free: 9.801 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.9688, allocations: 104.9 kB / 0.9718 GB, free: 9.691 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.189e-05/0.9689, allocations: 184.2 kB / 0.972 GB, free: 9.504 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/0.9689, allocations: 101 kB / 0.9721 GB, free: 9.398 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002139/0.9692, allocations: 210 kB / 0.9723 GB, free: 9.195 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9692, allocations: 1.969 kB / 0.9723 GB, free: 9.195 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.000274/0.9694, allocations: 24 kB / 0.9723 GB, free: 9.172 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.0002045/0.9697, allocations: 174.5 kB / 0.9725 GB, free: 8.988 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.9698, allocations: 15.86 kB / 0.9725 GB, free: 8.973 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.9698, allocations: 4 kB / 0.9725 GB, free: 8.969 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.9698, allocations: 256 / 0.9725 GB, free: 8.969 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009882/0.9708, allocations: 0.5302 MB / 0.973 GB, free: 8.441 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005833/0.9714, allocations: 363.1 kB / 0.9734 GB, free: 8.066 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.9718, allocations: 0.7206 MB / 0.9741 GB, free: 7.32 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 9.569e-05/0.9719, allocations: 21.94 kB / 0.9741 GB, free: 7.301 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.9719, allocations: 23.44 kB / 0.9741 GB, free: 7.277 MB / 0.7637 GB Notification: Performance of SimCode: time 2.11e-07/0.9719, allocations: 0 / 0.9741 GB, free: 7.277 MB / 0.7637 GB Notification: Performance of Templates: time 0.005582/0.9775, allocations: 2.404 MB / 0.9765 GB, free: 4.949 MB / 0.7637 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)