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.001548/0.001548, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001698/0.001698, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.171/1.171, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001884/0.001884, allocations: 283 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8734/0.8734, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 90.06 kB / 0.5948 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1196, allocations: 86.98 MB / 0.6797 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.37/0.4896, allocations: 171.7 MB / 0.8474 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007034/0.4967, allocations: 9.427 MB / 0.8566 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.4969, allocations: 5.312 kB / 0.8566 GB, free: 7.906 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.0004906/0.4974, allocations: 166.8 kB / 0.8568 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.4976, allocations: 84.34 kB / 0.8568 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001063/0.4977, allocations: 56.08 kB / 0.8569 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.498, allocations: 312.7 kB / 0.8572 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.4982, allocations: 157.6 kB / 0.8573 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.4984, allocations: 154.9 kB / 0.8575 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.318e-05/0.4985, allocations: 108.3 kB / 0.8576 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.4985, allocations: 19.72 kB / 0.8576 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.243e-05/0.4986, allocations: 16.72 kB / 0.8576 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.4986, allocations: 35.67 kB / 0.8577 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.615e-05/0.4987, allocations: 98.8 kB / 0.8577 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.4988, allocations: 210 kB / 0.8579 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.4988, allocations: 0 / 0.8579 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.91e-07/0.4988, allocations: 0 / 0.8579 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.4988, allocations: 0 / 0.8579 GB, free: 6.969 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.0003112/0.4992, allocations: 478.6 kB / 0.8584 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.613e-05/0.4992, allocations: 10.69 kB / 0.8584 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.4992, allocations: 55.27 kB / 0.8585 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.4993, allocations: 28.59 kB / 0.8585 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.4995, allocations: 238.6 kB / 0.8587 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.4995, allocations: 16.59 kB / 0.8587 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.4995, allocations: 17.03 kB / 0.8588 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.4998, allocations: 232.3 kB / 0.859 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4998, allocations: 3.938 kB / 0.859 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.4998, allocations: 14.34 kB / 0.859 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.4998, allocations: 7.719 kB / 0.859 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.4999, allocations: 89.17 kB / 0.8591 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007122/0.5006, allocations: 1.439 MB / 0.8605 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.148e-05/0.5007, allocations: 165.1 kB / 0.8606 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.219e-05/0.5007, allocations: 80.14 kB / 0.8607 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.5007, allocations: 79.28 kB / 0.8608 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.5008, allocations: 111.6 kB / 0.8609 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.5008, allocations: 0 / 0.8609 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.15e-05/0.5009, allocations: 47.8 kB / 0.861 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.5009, allocations: 130.7 kB / 0.8611 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.5011, allocations: 287.1 kB / 0.8614 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.5011, allocations: 25.7 kB / 0.8614 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.5012, allocations: 148.6 kB / 0.8615 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.5012, allocations: 0 / 0.8615 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.5013, allocations: 23.75 kB / 0.8615 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.43e-05/0.5013, allocations: 336.1 kB / 0.8619 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-06/0.5014, allocations: 6.406 kB / 0.8619 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.136e-05/0.5014, allocations: 36.28 kB / 0.8619 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.145e-05/0.5014, allocations: 32.72 kB / 0.8619 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.5014, allocations: 0 / 0.8619 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.799e-05/0.5015, allocations: 74.17 kB / 0.862 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.5015, allocations: 9.141 kB / 0.862 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.5015, allocations: 2.688 kB / 0.862 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-06/0.5016, allocations: 4.125 kB / 0.862 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.642e-05/0.5016, allocations: 6.844 kB / 0.862 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.5016, allocations: 0 / 0.862 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.5017, allocations: 21.62 kB / 0.862 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-06/0.5017, allocations: 2.312 kB / 0.862 GB, free: 2.988 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 8.199e-05/0.5017, allocations: 205.6 kB / 0.8622 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.5018, allocations: 126.9 kB / 0.8624 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.5019, allocations: 125.7 kB / 0.8625 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.209e-05/0.5019, allocations: 184.7 kB / 0.8627 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.809e-05/0.5019, allocations: 178.1 kB / 0.8628 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-05/0.502, allocations: 179.2 kB / 0.863 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.5022, allocations: 471.8 kB / 0.8635 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.703e-05/0.5022, allocations: 114 kB / 0.8636 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.371e-05/0.5023, allocations: 108.9 kB / 0.8637 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-05/0.5023, allocations: 176.3 kB / 0.8638 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/0.5024, allocations: 182.4 kB / 0.864 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-05/0.5024, allocations: 177 kB / 0.8642 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-05/0.5024, allocations: 183.1 kB / 0.8644 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.83e-05/0.5026, allocations: 335.7 kB / 0.8647 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.858e-05/0.5026, allocations: 203.2 kB / 0.8649 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-05/0.5027, allocations: 176.3 kB / 0.865 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.5028, allocations: 107.8 kB / 0.8651 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.5028, allocations: 184.2 kB / 0.8653 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.5029, allocations: 105 kB / 0.8654 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000142/0.503, allocations: 209.7 kB / 0.8656 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.503, allocations: 0 / 0.8656 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002121/0.5032, allocations: 22.28 kB / 0.8656 GB, free: 15.27 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.0002591/0.5035, allocations: 0.8304 MB / 0.8664 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 4.099e-05/0.5035, allocations: 19.45 kB / 0.8665 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.5035, allocations: 0 / 0.8665 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.5036, allocations: 0 / 0.8665 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006197/0.5042, allocations: 0.5262 MB / 0.867 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.5057, allocations: 2.272 MB / 0.8692 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.5059, allocations: 0.7249 MB / 0.8699 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.193e-05/0.506, allocations: 26.28 kB / 0.8699 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.5061, allocations: 61.59 kB / 0.87 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.5061, allocations: 0 / 0.87 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.208/1.714, allocations: 4.542 MB / 0.8744 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002796/1.714, allocations: 229.2 kB / 0.8746 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/3.483, allocations: 0 / 0.8746 GB, free: 8.914 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)