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.004109/0.004109, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001055/0.001055, allocations: 193.3 kB / 16.67 MB, free: 5.969 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.00209, allocations: 294.2 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9192/0.9192, allocations: 169.2 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 99.84 kB / 0.681 GB, free: 7.441 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3477, allocations: 86.97 MB / 0.7659 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1596/0.5073, allocations: 174 MB / 0.9358 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008328/0.5157, allocations: 9.515 MB / 0.9451 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.5159, allocations: 11.94 kB / 0.9451 GB, free: 11.62 MB / 0.7169 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.0005377/0.5164, allocations: 194.7 kB / 0.9453 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.5166, allocations: 95.36 kB / 0.9454 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.5168, allocations: 63.92 kB / 0.9455 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.5171, allocations: 314.7 kB / 0.9458 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/0.5173, allocations: 152.5 kB / 0.9459 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002798/0.5176, allocations: 151.4 kB / 0.946 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.5177, allocations: 107.4 kB / 0.9461 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.5178, allocations: 12 kB / 0.9462 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.413e-05/0.5178, allocations: 16 kB / 0.9462 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.439e-05/0.5178, allocations: 39.84 kB / 0.9462 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.004e-05/0.5179, allocations: 99.48 kB / 0.9463 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.5181, allocations: 216.2 kB / 0.9465 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5181, allocations: 0 / 0.9465 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5181, allocations: 4 kB / 0.9465 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.5182, allocations: 0 / 0.9465 GB, free: 10.19 MB / 0.7169 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.0003905/0.5186, allocations: 490.7 kB / 0.947 GB, free: 9.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.5186, allocations: 8.031 kB / 0.947 GB, free: 9.656 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.329e-05/0.5186, allocations: 54.55 kB / 0.947 GB, free: 9.594 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.5187, allocations: 27.8 kB / 0.9471 GB, free: 9.566 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.519, allocations: 259.6 kB / 0.9473 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.519, allocations: 16.44 kB / 0.9473 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.5191, allocations: 19.98 kB / 0.9474 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.5194, allocations: 243.7 kB / 0.9476 GB, free: 8.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.5194, allocations: 0 / 0.9476 GB, free: 8.965 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.5194, allocations: 11.94 kB / 0.9476 GB, free: 8.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.5194, allocations: 8 kB / 0.9476 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.5196, allocations: 87.78 kB / 0.9477 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008587/0.5204, allocations: 1.437 MB / 0.9491 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.641e-05/0.5205, allocations: 169.1 kB / 0.9493 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.5205, allocations: 88.11 kB / 0.9493 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.5206, allocations: 83.2 kB / 0.9494 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.5206, allocations: 105.8 kB / 0.9495 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.5206, allocations: 4 kB / 0.9495 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.445e-05/0.5207, allocations: 49.56 kB / 0.9496 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.5207, allocations: 130.7 kB / 0.9497 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.521, allocations: 283 kB / 0.95 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.856e-06/0.521, allocations: 25.7 kB / 0.95 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.017e-05/0.5211, allocations: 151.9 kB / 0.9501 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.5211, allocations: 0 / 0.9501 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.5212, allocations: 17.72 kB / 0.9501 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.5213, allocations: 338.8 kB / 0.9505 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.5213, allocations: 7.938 kB / 0.9505 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.311e-05/0.5213, allocations: 27.44 kB / 0.9505 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.862e-05/0.5214, allocations: 35.38 kB / 0.9505 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5214, allocations: 0 / 0.9505 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001139/0.5215, allocations: 73.48 kB / 0.9506 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.5215, allocations: 8 kB / 0.9506 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.5215, allocations: 0 / 0.9506 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.5215, allocations: 112 / 0.9506 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.883e-05/0.5216, allocations: 15.92 kB / 0.9506 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.5216, allocations: 0 / 0.9506 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.678e-05/0.5217, allocations: 19.97 kB / 0.9507 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.5217, allocations: 4 kB / 0.9507 GB, free: 5.629 MB / 0.7169 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.0001015/0.5218, allocations: 211.3 kB / 0.9509 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.745e-05/0.5219, allocations: 124.8 kB / 0.951 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.5219, allocations: 121.9 kB / 0.9511 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.075e-05/0.522, allocations: 184.2 kB / 0.9513 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.358e-05/0.522, allocations: 184.2 kB / 0.9514 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.771e-05/0.5221, allocations: 180.2 kB / 0.9516 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.5223, allocations: 469.1 kB / 0.9521 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.814e-05/0.5224, allocations: 105 kB / 0.9522 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.023e-05/0.5224, allocations: 104.9 kB / 0.9523 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.601e-05/0.5225, allocations: 180.2 kB / 0.9524 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-05/0.5225, allocations: 184.2 kB / 0.9526 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-05/0.5226, allocations: 188.3 kB / 0.9528 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.273e-05/0.5226, allocations: 184.2 kB / 0.953 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.5228, allocations: 323.6 kB / 0.9533 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.559e-05/0.5229, allocations: 205.9 kB / 0.9535 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.379e-05/0.5229, allocations: 184.2 kB / 0.9536 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.609e-05/0.523, allocations: 101 kB / 0.9537 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.5231, allocations: 184.3 kB / 0.9539 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.5231, allocations: 105.3 kB / 0.954 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000169/0.5233, allocations: 209.9 kB / 0.9542 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5233, allocations: 0 / 0.9542 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002504/0.5236, allocations: 27.94 kB / 0.9542 GB, free: 1.727 MB / 0.7169 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.0003141/0.5239, allocations: 0.8281 MB / 0.9551 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.917e-05/0.524, allocations: 19.97 kB / 0.9551 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.524, allocations: 4.25 kB / 0.9551 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.524, allocations: 0 / 0.9551 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007037/0.5247, allocations: 0.5216 MB / 0.9556 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2704/0.7951, allocations: 2.226 MB / 0.9578 GB, free: 192.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.7952, allocations: 0.7249 MB / 0.9585 GB, free: 191.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.827e-05/0.7953, allocations: 20.38 kB / 0.9585 GB, free: 191.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.039e-05/0.7954, allocations: 58.88 kB / 0.9585 GB, free: 191.7 MB / 0.7169 GB Notification: Performance of SimCode: time 1.122e-06/0.7954, allocations: 3.719 kB / 0.9585 GB, free: 191.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.816, allocations: 4.688 MB / 0.9631 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.161/7.978, allocations: 12.3 kB / 0.9631 GB, free: 191.1 MB / 0.7169 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)