Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.InletToAirMoistAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.001585/0.001585, 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.001311/0.001311, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001986/0.001986, allocations: 283 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9225/0.9225, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 106.5 kB / 0.5954 GB, free: 27.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1274, allocations: 86.98 MB / 0.6803 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.4022/0.5296, allocations: 174 MB / 0.8502 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008404/0.5381, allocations: 9.504 MB / 0.8595 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.5383, allocations: 12.75 kB / 0.8595 GB, free: 5.57 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 (2) 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 (2) 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.0005451/0.5388, allocations: 194.9 kB / 0.8597 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.539, allocations: 87.03 kB / 0.8598 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.5392, allocations: 63.95 kB / 0.8598 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002992/0.5395, allocations: 318.2 kB / 0.8601 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.5397, allocations: 148.1 kB / 0.8603 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.54, allocations: 159.4 kB / 0.8604 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.5401, allocations: 103.7 kB / 0.8605 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.5402, allocations: 19.44 kB / 0.8605 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.764e-05/0.5402, allocations: 16.94 kB / 0.8606 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.039e-05/0.5402, allocations: 37.48 kB / 0.8606 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.894e-05/0.5403, allocations: 98.55 kB / 0.8607 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.5405, allocations: 207.4 kB / 0.8609 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5405, allocations: 4 kB / 0.8609 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5405, allocations: 0 / 0.8609 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5405, allocations: 0 / 0.8609 GB, free: 4.594 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000403/0.5409, allocations: 474.9 kB / 0.8613 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.541, allocations: 10.09 kB / 0.8613 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.789e-05/0.541, allocations: 51.58 kB / 0.8614 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.5411, allocations: 28.06 kB / 0.8614 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.5413, allocations: 248.4 kB / 0.8617 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.5413, allocations: 12.44 kB / 0.8617 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.5414, allocations: 24.42 kB / 0.8617 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.5416, allocations: 233 kB / 0.8619 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.5417, allocations: 0 / 0.8619 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.5417, allocations: 10.66 kB / 0.8619 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.5417, allocations: 10.84 kB / 0.8619 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.5418, allocations: 93.83 kB / 0.862 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000882/0.5427, allocations: 1.435 MB / 0.8634 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.278e-05/0.5428, allocations: 177.1 kB / 0.8636 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.5428, allocations: 80.17 kB / 0.8637 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.5429, allocations: 79.28 kB / 0.8638 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.5429, allocations: 108.4 kB / 0.8639 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.5429, allocations: 0 / 0.8639 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.114e-05/0.543, allocations: 51.67 kB / 0.8639 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.5431, allocations: 126.7 kB / 0.864 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.5433, allocations: 290.6 kB / 0.8643 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.547e-06/0.5433, allocations: 25.7 kB / 0.8643 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.879e-05/0.5434, allocations: 142.5 kB / 0.8645 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.5434, allocations: 3.938 kB / 0.8645 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.5435, allocations: 22.56 kB / 0.8645 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.5436, allocations: 335.6 kB / 0.8648 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.5436, allocations: 6.312 kB / 0.8648 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.201e-05/0.5436, allocations: 30.36 kB / 0.8648 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.862e-05/0.5437, allocations: 31.16 kB / 0.8649 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5437, allocations: 4 kB / 0.8649 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001121/0.5438, allocations: 73.91 kB / 0.8649 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.5438, allocations: 9.688 kB / 0.865 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.5438, allocations: 0 / 0.865 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.5439, allocations: 2.094 kB / 0.865 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.446e-05/0.5439, allocations: 4.75 kB / 0.865 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.5439, allocations: 2.531 kB / 0.865 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.417e-05/0.544, allocations: 25 kB / 0.865 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.544, allocations: 2.656 kB / 0.865 GB, free: 0.6094 MB / 0.5762 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 9.801e-05/0.5441, allocations: 206.2 kB / 0.8652 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.5442, allocations: 122.9 kB / 0.8653 GB, free: 296 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.089e-05/0.5442, allocations: 124.7 kB / 0.8654 GB, free: 172 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-05/0.5443, allocations: 184.2 kB / 0.8656 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.596e-05/0.5444, allocations: 179.3 kB / 0.8658 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.462e-05/0.5444, allocations: 184.2 kB / 0.8659 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.5447, allocations: 467.1 kB / 0.8664 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.043e-05/0.5447, allocations: 112.8 kB / 0.8665 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.705e-05/0.5448, allocations: 109.1 kB / 0.8666 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.957e-05/0.5448, allocations: 176.3 kB / 0.8668 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.935e-05/0.5449, allocations: 186.8 kB / 0.8669 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.205e-05/0.5449, allocations: 176.3 kB / 0.8671 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.682e-05/0.545, allocations: 184.2 kB / 0.8673 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.5451, allocations: 327.9 kB / 0.8676 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.754e-05/0.5452, allocations: 203.2 kB / 0.8678 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.92e-05/0.5453, allocations: 186.8 kB / 0.868 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.116e-05/0.5454, allocations: 104.9 kB / 0.8681 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.5455, allocations: 178.8 kB / 0.8682 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.5455, allocations: 101 kB / 0.8683 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001722/0.5457, allocations: 211.4 kB / 0.8685 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5457, allocations: 3.938 kB / 0.8686 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002381/0.5459, allocations: 26.44 kB / 0.8686 GB, free: 12.88 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.0003344/0.5463, allocations: 0.8283 MB / 0.8694 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.077e-05/0.5463, allocations: 11.69 kB / 0.8694 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5464, allocations: 256 / 0.8694 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.5464, allocations: 4 kB / 0.8694 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007581/0.5471, allocations: 0.5322 MB / 0.8699 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.549, allocations: 2.228 MB / 0.8721 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.5492, allocations: 0.7308 MB / 0.8728 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.935e-05/0.5493, allocations: 18.42 kB / 0.8728 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.636e-05/0.5494, allocations: 61.69 kB / 0.8729 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.5494, allocations: 0 / 0.8729 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.5693, allocations: 4.642 MB / 0.8774 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.828/7.398, allocations: 12.66 kB / 0.8774 GB, free: 6.703 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_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_InletToAirMoistAir.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)