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.001498/0.001498, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001661/0.001661, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.664/1.664, allocations: 205.1 MB / 222 MB, free: 4.734 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.759/1.759, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.00137/0.00137, allocations: 67.31 kB / 0.6708 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2939, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.7477/1.042, allocations: 171.9 MB / 0.9505 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009742/1.051, allocations: 9.521 MB / 0.9598 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004746/1.052, allocations: 9.031 kB / 0.9598 GB, free: 5.418 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 (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.0007151/1.053, allocations: 150.3 kB / 0.96 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003389/1.053, allocations: 91.53 kB / 0.96 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/1.053, allocations: 52.06 kB / 0.9601 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005202/1.054, allocations: 390.6 kB / 0.9605 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003912/1.054, allocations: 197.1 kB / 0.9606 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000413/1.055, allocations: 149.5 kB / 0.9608 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/1.055, allocations: 123.9 kB / 0.9609 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/1.055, allocations: 18.45 kB / 0.9609 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.085e-05/1.055, allocations: 17.88 kB / 0.9609 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/1.055, allocations: 72.33 kB / 0.961 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/1.055, allocations: 124.3 kB / 0.9611 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003364/1.056, allocations: 270 kB / 0.9614 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.056, allocations: 0 / 0.9614 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/1.056, allocations: 0.5938 kB / 0.9614 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.061e-06/1.056, allocations: 0 / 0.9614 GB, free: 5.348 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008082/1.056, allocations: 0.5071 MB / 0.9619 GB, free: 20.93 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.057, allocations: 10.28 kB / 0.9619 GB, free: 20.93 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.338e-05/1.057, allocations: 35.03 kB / 0.9619 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/1.057, allocations: 274.2 kB / 0.9622 GB, free: 20.68 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/1.057, allocations: 21.59 kB / 0.9622 GB, free: 20.68 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/1.057, allocations: 24.22 kB / 0.9622 GB, free: 20.68 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005315/1.058, allocations: 329.4 kB / 0.9625 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/1.058, allocations: 2.812 kB / 0.9626 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/1.058, allocations: 10.81 kB / 0.9626 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/1.058, allocations: 8.516 kB / 0.9626 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/1.058, allocations: 143.9 kB / 0.9627 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/1.059, allocations: 1.818 MB / 0.9645 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 7.972e-05/1.06, allocations: 173.2 kB / 0.9646 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.142e-05/1.06, allocations: 83.89 kB / 0.9647 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/1.06, allocations: 77.58 kB / 0.9648 GB, free: 18.72 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/1.06, allocations: 114.1 kB / 0.9649 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/1.06, allocations: 0.5312 kB / 0.9649 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 0.0001052/1.06, allocations: 52.7 kB / 0.965 GB, free: 18.56 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/1.06, allocations: 131.8 kB / 0.9651 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004893/1.06, allocations: 374.9 kB / 0.9654 GB, free: 18.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/1.06, allocations: 25.7 kB / 0.9655 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/1.06, allocations: 167.8 kB / 0.9656 GB, free: 18.18 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/1.06, allocations: 1.203 kB / 0.9656 GB, free: 18.18 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/1.061, allocations: 15.89 kB / 0.9656 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.061, allocations: 338.9 kB / 0.966 GB, free: 17.85 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/1.061, allocations: 7.156 kB / 0.966 GB, free: 17.84 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.601e-05/1.061, allocations: 43.47 kB / 0.966 GB, free: 17.8 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.613e-05/1.061, allocations: 44.05 kB / 0.9661 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.061, allocations: 1.094 kB / 0.9661 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001632/1.061, allocations: 93.42 kB / 0.9661 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.061, allocations: 7.062 kB / 0.9662 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.061, allocations: 1.125 kB / 0.9662 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/1.061, allocations: 1.531 kB / 0.9662 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.856e-05/1.061, allocations: 13.52 kB / 0.9662 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/1.061, allocations: 1.188 kB / 0.9662 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.259e-05/1.061, allocations: 27.75 kB / 0.9662 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/1.061, allocations: 2.781 kB / 0.9662 GB, free: 17.69 MB / 0.7481 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.0001428/1.061, allocations: 217.9 kB / 0.9664 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-05/1.061, allocations: 136.4 kB / 0.9665 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.413e-05/1.061, allocations: 128.4 kB / 0.9667 GB, free: 17.26 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.441e-05/1.062, allocations: 180.9 kB / 0.9668 GB, free: 17.08 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.85e-05/1.062, allocations: 186.5 kB / 0.967 GB, free: 16.89 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.977e-05/1.062, allocations: 185.8 kB / 0.9672 GB, free: 16.71 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/1.062, allocations: 494.8 kB / 0.9677 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.087e-05/1.062, allocations: 102.3 kB / 0.9678 GB, free: 16.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.315e-05/1.062, allocations: 109.6 kB / 0.9679 GB, free: 16.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/1.062, allocations: 186.2 kB / 0.968 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/1.062, allocations: 180.6 kB / 0.9682 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.237e-05/1.063, allocations: 177.6 kB / 0.9684 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.614e-05/1.063, allocations: 181.4 kB / 0.9686 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/1.063, allocations: 328.2 kB / 0.9689 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/1.063, allocations: 218.4 kB / 0.9691 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.685e-05/1.063, allocations: 184 kB / 0.9693 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/1.063, allocations: 103.9 kB / 0.9693 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/1.063, allocations: 178.8 kB / 0.9695 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/1.063, allocations: 105.1 kB / 0.9696 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002828/1.064, allocations: 273.5 kB / 0.9699 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/1.064, allocations: 4 kB / 0.9699 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000319/1.064, allocations: 27.88 kB / 0.9699 GB, free: 14.12 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.0001647/1.064, allocations: 171.4 kB / 0.9701 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 8.347e-05/1.064, allocations: 18.52 kB / 0.9701 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.064, allocations: 0 / 0.9701 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/1.064, allocations: 0 / 0.9701 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009673/1.065, allocations: 0.6267 MB / 0.9707 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/1.066, allocations: 490.6 kB / 0.9712 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/1.066, allocations: 0.7536 MB / 0.9719 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001203/1.066, allocations: 31.66 kB / 0.9719 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/1.066, allocations: 19.53 kB / 0.972 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of SimCode: time 3.3e-07/1.066, allocations: 0 / 0.972 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of Templates: time 0.007807/1.074, allocations: 3.02 MB / 0.9749 GB, free: 12.19 MB / 0.7481 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)