Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.001109/0.001109, 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.001094/0.001094, allocations: 195.5 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 278.8 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9239/0.9239, allocations: 169.2 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 90.42 kB / 0.5953 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1282, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.3887/0.5169, allocations: 147.9 MB / 0.8248 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003866/0.5208, allocations: 4.637 MB / 0.8293 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.521, allocations: 5.656 kB / 0.8293 GB, free: 1.203 MB / 0.5606 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.000451/0.5215, allocations: 166.1 kB / 0.8295 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.5217, allocations: 84.69 kB / 0.8295 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001143/0.5219, allocations: 67.23 kB / 0.8296 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.5221, allocations: 296 kB / 0.8299 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.5223, allocations: 104.8 kB / 0.83 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.5225, allocations: 100 kB / 0.8301 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.5226, allocations: 138.5 kB / 0.8302 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.5227, allocations: 10.44 kB / 0.8302 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.44e-05/0.5227, allocations: 10.84 kB / 0.8302 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.5227, allocations: 23.83 kB / 0.8302 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.5228, allocations: 82.88 kB / 0.8303 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.5229, allocations: 147.9 kB / 0.8305 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5229, allocations: 0 / 0.8305 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5229, allocations: 1.094 kB / 0.8305 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5229, allocations: 0 / 0.8305 GB, free: 0.9023 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0003795/0.5233, allocations: 448.6 kB / 0.8309 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.5234, allocations: 9.781 kB / 0.8309 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.5234, allocations: 47.59 kB / 0.831 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.5234, allocations: 21.97 kB / 0.831 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.5237, allocations: 245.1 kB / 0.8312 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.5237, allocations: 12.84 kB / 0.8312 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.5237, allocations: 17.72 kB / 0.8312 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.5239, allocations: 213.8 kB / 0.8314 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.5239, allocations: 3.453 kB / 0.8314 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.524, allocations: 9.125 kB / 0.8315 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.524, allocations: 9.312 kB / 0.8315 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.941e-05/0.5241, allocations: 75.38 kB / 0.8315 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008255/0.5249, allocations: 1.582 MB / 0.8331 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.273e-05/0.525, allocations: 174.3 kB / 0.8332 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.294e-05/0.525, allocations: 80.14 kB / 0.8333 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.525, allocations: 76.31 kB / 0.8334 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.5251, allocations: 113 kB / 0.8335 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.5251, allocations: 1.094 kB / 0.8335 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.676e-05/0.5252, allocations: 45.7 kB / 0.8335 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.5252, allocations: 130.6 kB / 0.8337 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.5254, allocations: 243.4 kB / 0.8339 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.5255, allocations: 30.77 kB / 0.8339 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/0.5255, allocations: 145.1 kB / 0.8341 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/0.5255, allocations: 5.156 kB / 0.8341 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.5256, allocations: 18.94 kB / 0.8341 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.5257, allocations: 330.9 kB / 0.8344 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.369e-05/0.5257, allocations: 4.5 kB / 0.8344 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.532e-05/0.5257, allocations: 49.25 kB / 0.8345 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.879e-05/0.5258, allocations: 65.33 kB / 0.8345 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5258, allocations: 0 / 0.8345 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001356/0.5259, allocations: 94.67 kB / 0.8346 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.526, allocations: 5.625 kB / 0.8346 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.526, allocations: 2.625 kB / 0.8346 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.526, allocations: 2.312 kB / 0.8346 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.714e-05/0.526, allocations: 13 kB / 0.8346 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.526, allocations: 5.469 kB / 0.8346 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.401e-05/0.5261, allocations: 21.62 kB / 0.8347 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.5261, allocations: 10.66 kB / 0.8347 GB, free: 13.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.926e-05/0.5262, allocations: 201.9 kB / 0.8349 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.5263, allocations: 117.9 kB / 0.835 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.646e-05/0.5264, allocations: 124.4 kB / 0.8351 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.456e-05/0.5264, allocations: 177.4 kB / 0.8353 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-05/0.5265, allocations: 180.2 kB / 0.8354 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.398e-05/0.5265, allocations: 184.5 kB / 0.8356 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.5268, allocations: 457.3 kB / 0.836 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-05/0.5268, allocations: 105 kB / 0.8361 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/0.5269, allocations: 108.5 kB / 0.8363 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.624e-05/0.5269, allocations: 181.8 kB / 0.8364 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/0.527, allocations: 186.8 kB / 0.8366 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-05/0.527, allocations: 180.2 kB / 0.8368 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.999e-05/0.5271, allocations: 181.5 kB / 0.8369 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.5272, allocations: 328.2 kB / 0.8373 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.384e-05/0.5273, allocations: 195.5 kB / 0.8374 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.593e-05/0.5274, allocations: 186.7 kB / 0.8376 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.88e-05/0.5275, allocations: 107.4 kB / 0.8377 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.5276, allocations: 181.4 kB / 0.8379 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.5276, allocations: 106.1 kB / 0.838 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001376/0.5278, allocations: 186.7 kB / 0.8382 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5278, allocations: 0 / 0.8382 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002492/0.528, allocations: 26.94 kB / 0.8382 GB, free: 9.625 MB / 0.5762 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.0003342/0.5284, allocations: 0.8188 MB / 0.839 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.65e-05/0.5284, allocations: 21.88 kB / 0.839 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5284, allocations: 4.062 kB / 0.839 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.5284, allocations: 5.625 kB / 0.839 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006318/0.5291, allocations: 0.4953 MB / 0.8395 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.5308, allocations: 2.053 MB / 0.8415 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.531, allocations: 0.7163 MB / 0.8422 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.329e-05/0.5311, allocations: 14.62 kB / 0.8422 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.5312, allocations: 47.88 kB / 0.8423 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.5312, allocations: 4 kB / 0.8423 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.5478, allocations: 3.532 MB / 0.8457 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.68/7.228, allocations: 13.05 kB / 0.8457 GB, free: 5.215 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir_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_InletToAirDryAir.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)