Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 108 kB / 15.61 MB, free: 152 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.001263/0.001263, allocations: 192.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002073/0.002073, allocations: 286.8 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9191/0.9191, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 100.9 kB / 0.5954 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1287, allocations: 86.97 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.402/0.5308, allocations: 174 MB / 0.8503 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008457/0.5393, allocations: 9.516 MB / 0.8595 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.5395, allocations: 8.969 kB / 0.8596 GB, free: 5.574 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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.0005165/0.54, allocations: 191.2 kB / 0.8597 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.5402, allocations: 92.34 kB / 0.8598 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.5403, allocations: 64.02 kB / 0.8599 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003/0.5406, allocations: 325.7 kB / 0.8602 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002923/0.5409, allocations: 205.8 kB / 0.8604 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.5412, allocations: 166 kB / 0.8606 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.5414, allocations: 128.2 kB / 0.8607 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.5414, allocations: 22.72 kB / 0.8607 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.311e-05/0.5414, allocations: 22.94 kB / 0.8607 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.3e-05/0.5415, allocations: 75.92 kB / 0.8608 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.5416, allocations: 126 kB / 0.8609 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.5419, allocations: 276 kB / 0.8612 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5419, allocations: 4 kB / 0.8612 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5419, allocations: 0 / 0.8612 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.5419, allocations: 0 / 0.8612 GB, free: 4.461 MB / 0.5762 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.0004327/0.5423, allocations: 0.5138 MB / 0.8617 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.5424, allocations: 7.031 kB / 0.8617 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.5424, allocations: 60.55 kB / 0.8617 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.5425, allocations: 34.66 kB / 0.8618 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.5427, allocations: 269.1 kB / 0.862 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.5427, allocations: 18.72 kB / 0.8621 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.5428, allocations: 26.22 kB / 0.8621 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/0.5432, allocations: 314.4 kB / 0.8624 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.5432, allocations: 3.938 kB / 0.8624 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.5432, allocations: 13.28 kB / 0.8624 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.5432, allocations: 11.55 kB / 0.8624 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.5434, allocations: 146.2 kB / 0.8625 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.5445, allocations: 1.823 MB / 0.8643 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.846e-05/0.5446, allocations: 176 kB / 0.8645 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.799e-05/0.5446, allocations: 84.08 kB / 0.8646 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.5447, allocations: 79.22 kB / 0.8646 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.5447, allocations: 109.8 kB / 0.8648 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.5447, allocations: 0 / 0.8648 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.24e-05/0.5448, allocations: 54.23 kB / 0.8648 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.5449, allocations: 128.8 kB / 0.8649 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/0.5452, allocations: 373 kB / 0.8653 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.5452, allocations: 25.7 kB / 0.8653 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.5453, allocations: 167 kB / 0.8655 GB, free: 456 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.157e-06/0.5453, allocations: 7.984 kB / 0.8655 GB, free: 448 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.5454, allocations: 16.44 kB / 0.8655 GB, free: 428 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.5455, allocations: 337.7 kB / 0.8658 GB, free: 88 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.429e-05/0.5455, allocations: 6.438 kB / 0.8658 GB, free: 84 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.653e-05/0.5455, allocations: 38.72 kB / 0.8659 GB, free: 36 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.511e-05/0.5456, allocations: 46.55 kB / 0.8659 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5456, allocations: 0 / 0.8659 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001363/0.5457, allocations: 94.91 kB / 0.866 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.5458, allocations: 5.281 kB / 0.866 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.5458, allocations: 6.625 kB / 0.866 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.5458, allocations: 3.969 kB / 0.866 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.706e-05/0.5458, allocations: 6.094 kB / 0.866 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.5459, allocations: 2.125 kB / 0.866 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.755e-05/0.5459, allocations: 22.97 kB / 0.866 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-06/0.5459, allocations: 2.812 kB / 0.866 GB, free: 15.89 MB / 0.5919 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.0001173/0.5461, allocations: 217.5 kB / 0.8662 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.5461, allocations: 141.1 kB / 0.8664 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.362e-05/0.5462, allocations: 132.5 kB / 0.8665 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.354e-05/0.5463, allocations: 180.2 kB / 0.8667 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.797e-05/0.5463, allocations: 178.8 kB / 0.8668 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.156e-05/0.5464, allocations: 176.3 kB / 0.867 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.5467, allocations: 496.1 kB / 0.8675 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.465e-05/0.5467, allocations: 108.9 kB / 0.8676 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-05/0.5467, allocations: 108.9 kB / 0.8677 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.286e-05/0.5468, allocations: 179.3 kB / 0.8679 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/0.5469, allocations: 180.2 kB / 0.868 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-05/0.5469, allocations: 187.2 kB / 0.8682 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-05/0.547, allocations: 181.5 kB / 0.8684 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.5471, allocations: 334.6 kB / 0.8687 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.5472, allocations: 211.8 kB / 0.8689 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.15e-05/0.5473, allocations: 180.2 kB / 0.8691 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.5474, allocations: 101 kB / 0.8692 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.5475, allocations: 190.9 kB / 0.8694 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.5475, allocations: 105 kB / 0.8695 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002333/0.5477, allocations: 266.2 kB / 0.8697 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5478, allocations: 0 / 0.8697 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002503/0.548, allocations: 31.38 kB / 0.8697 GB, free: 12.09 MB / 0.5919 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.000333/0.5483, allocations: 0.8428 MB / 0.8706 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 5.765e-05/0.5484, allocations: 17.97 kB / 0.8706 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5484, allocations: 0 / 0.8706 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.5484, allocations: 0 / 0.8706 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007916/0.5492, allocations: 0.5569 MB / 0.8711 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.5515, allocations: 2.71 MB / 0.8738 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.5518, allocations: 0.7493 MB / 0.8745 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.297e-05/0.5519, allocations: 34.88 kB / 0.8745 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.332e-05/0.552, allocations: 76.97 kB / 0.8746 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.552, allocations: 0 / 0.8746 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.5721, allocations: 5.845 MB / 0.8803 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.942/7.514, allocations: 12.98 kB / 0.8803 GB, free: 5.066 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)