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.001438/0.001438, 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.0009878/0.0009878, allocations: 192.8 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.186/1.186, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001956/0.001956, allocations: 279.1 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8521/0.8521, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 90.06 kB / 0.5954 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1254, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.377/0.5025, allocations: 174 MB / 0.8502 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007572/0.5101, allocations: 9.496 MB / 0.8595 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.5103, allocations: 12.16 kB / 0.8595 GB, free: 5.641 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.0005525/0.5109, allocations: 193.6 kB / 0.8597 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.511, allocations: 92.75 kB / 0.8598 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001239/0.5112, allocations: 64.3 kB / 0.8598 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.5114, allocations: 311 kB / 0.8601 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.5117, allocations: 148.9 kB / 0.8603 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.5119, allocations: 163.3 kB / 0.8604 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.804e-05/0.512, allocations: 104.1 kB / 0.8605 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.5121, allocations: 16.53 kB / 0.8605 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.526e-05/0.5121, allocations: 16.69 kB / 0.8606 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.795e-05/0.5121, allocations: 33.61 kB / 0.8606 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.983e-05/0.5122, allocations: 100.8 kB / 0.8607 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.5124, allocations: 208.6 kB / 0.8609 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5124, allocations: 0 / 0.8609 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.42e-07/0.5124, allocations: 0 / 0.8609 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.5124, allocations: 3.938 kB / 0.8609 GB, free: 4.664 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.0003496/0.5127, allocations: 476.1 kB / 0.8613 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.702e-05/0.5128, allocations: 10.34 kB / 0.8613 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.145e-05/0.5128, allocations: 58.78 kB / 0.8614 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.5129, allocations: 25.38 kB / 0.8614 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.5131, allocations: 245 kB / 0.8617 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.5131, allocations: 16.19 kB / 0.8617 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.5131, allocations: 19.22 kB / 0.8617 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.5134, allocations: 235 kB / 0.8619 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5134, allocations: 0 / 0.8619 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.5134, allocations: 15.22 kB / 0.8619 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.5134, allocations: 7.5 kB / 0.8619 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.5136, allocations: 90.56 kB / 0.862 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008305/0.5144, allocations: 1.432 MB / 0.8634 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.24e-05/0.5145, allocations: 169.2 kB / 0.8636 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.5145, allocations: 92.11 kB / 0.8637 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.5145, allocations: 75.28 kB / 0.8637 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.5146, allocations: 108.6 kB / 0.8639 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.5146, allocations: 0 / 0.8639 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.331e-05/0.5146, allocations: 50.75 kB / 0.8639 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.5147, allocations: 134.6 kB / 0.864 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.5149, allocations: 286 kB / 0.8643 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.515, allocations: 28.08 kB / 0.8643 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.333e-05/0.515, allocations: 142.1 kB / 0.8645 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.5151, allocations: 0 / 0.8645 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.5151, allocations: 25.95 kB / 0.8645 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.5152, allocations: 332.5 kB / 0.8648 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.5152, allocations: 3.984 kB / 0.8648 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.411e-05/0.5152, allocations: 32.5 kB / 0.8648 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.501e-05/0.5153, allocations: 34.84 kB / 0.8649 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.5153, allocations: 0 / 0.8649 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001084/0.5154, allocations: 68.28 kB / 0.8649 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.5154, allocations: 10.88 kB / 0.8649 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.5154, allocations: 0 / 0.8649 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.5154, allocations: 2.5 kB / 0.8649 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.667e-05/0.5155, allocations: 9.312 kB / 0.865 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.5155, allocations: 2.5 kB / 0.865 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.5155, allocations: 20.88 kB / 0.865 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.5156, allocations: 2.625 kB / 0.865 GB, free: 0.6875 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.158e-05/0.5157, allocations: 209.8 kB / 0.8652 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.5157, allocations: 131.9 kB / 0.8653 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.321e-05/0.5158, allocations: 125.6 kB / 0.8654 GB, free: 240 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.732e-05/0.5158, allocations: 176.3 kB / 0.8656 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-05/0.5159, allocations: 180.2 kB / 0.8658 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.785e-05/0.5159, allocations: 178.7 kB / 0.8659 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.5162, allocations: 478 kB / 0.8664 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.768e-05/0.5162, allocations: 104.9 kB / 0.8665 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.5162, allocations: 103.7 kB / 0.8666 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.276e-05/0.5163, allocations: 180.2 kB / 0.8668 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.382e-05/0.5163, allocations: 176.3 kB / 0.8669 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.14e-05/0.5164, allocations: 183.1 kB / 0.8671 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.611e-05/0.5164, allocations: 196.1 kB / 0.8673 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.5165, allocations: 324.3 kB / 0.8676 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-05/0.5166, allocations: 200.6 kB / 0.8678 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/0.5167, allocations: 187.5 kB / 0.868 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.657e-05/0.5168, allocations: 108.9 kB / 0.8681 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.5168, allocations: 184.3 kB / 0.8683 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.5169, allocations: 107.7 kB / 0.8684 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00015/0.517, allocations: 202.5 kB / 0.8686 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.517, allocations: 0 / 0.8686 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002194/0.5173, allocations: 22.69 kB / 0.8686 GB, free: 12.96 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.0002869/0.5175, allocations: 0.8308 MB / 0.8694 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 5.21e-05/0.5176, allocations: 15.38 kB / 0.8694 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5176, allocations: 0 / 0.8694 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.5176, allocations: 2.688 kB / 0.8694 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006531/0.5183, allocations: 0.5333 MB / 0.8699 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.5199, allocations: 2.232 MB / 0.8721 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.5202, allocations: 0.7263 MB / 0.8728 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.396e-05/0.5202, allocations: 22.97 kB / 0.8728 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/0.5203, allocations: 57.52 kB / 0.8729 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of SimCode: time 1.794e-06/0.5203, allocations: 0 / 0.8729 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6288/1.149, allocations: 4.647 MB / 0.8774 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/8.881, allocations: 10.11 kB / 0.8774 GB, free: 6.766 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)