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.0009803/0.0009803, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001025/0.001025, allocations: 192.2 kB / 16.13 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.172/1.172, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001963/0.001963, allocations: 275 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8463/0.8463, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 99.41 kB / 0.5946 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1323, allocations: 86.98 MB / 0.6795 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.41/0.5423, allocations: 171.8 MB / 0.8473 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008011/0.5504, allocations: 9.506 MB / 0.8566 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000279/0.5507, allocations: 9.5 kB / 0.8566 GB, free: 7.676 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.0005611/0.5513, allocations: 162.8 kB / 0.8568 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.5515, allocations: 80.69 kB / 0.8568 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.5516, allocations: 51.95 kB / 0.8569 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003103/0.5519, allocations: 371.4 kB / 0.8572 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.5522, allocations: 144.4 kB / 0.8574 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.5524, allocations: 149.3 kB / 0.8575 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.977e-05/0.5525, allocations: 105.4 kB / 0.8576 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.5526, allocations: 10 kB / 0.8576 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.647e-05/0.5526, allocations: 17.41 kB / 0.8577 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.533e-05/0.5526, allocations: 29.14 kB / 0.8577 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.97e-05/0.5527, allocations: 103.1 kB / 0.8578 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.5529, allocations: 195.8 kB / 0.858 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5529, allocations: 0 / 0.858 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.51e-07/0.5529, allocations: 1.375 kB / 0.858 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.5529, allocations: 0 / 0.858 GB, free: 6.75 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.0004042/0.5533, allocations: 481.8 kB / 0.8584 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.5534, allocations: 7.969 kB / 0.8584 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.37e-05/0.5534, allocations: 54.36 kB / 0.8585 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.5535, allocations: 25.97 kB / 0.8585 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.5537, allocations: 248.1 kB / 0.8587 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.5537, allocations: 13.31 kB / 0.8588 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.5537, allocations: 21.44 kB / 0.8588 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.554, allocations: 239.9 kB / 0.859 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.554, allocations: 0 / 0.859 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.5541, allocations: 10.41 kB / 0.859 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.5541, allocations: 11.39 kB / 0.859 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.5542, allocations: 93.97 kB / 0.8591 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008761/0.5551, allocations: 1.431 MB / 0.8605 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.022e-05/0.5552, allocations: 169.1 kB / 0.8607 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.826e-05/0.5552, allocations: 84.25 kB / 0.8608 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.5552, allocations: 83.16 kB / 0.8608 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.5553, allocations: 107.8 kB / 0.8609 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.5553, allocations: 0 / 0.8609 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.02e-05/0.5554, allocations: 47.83 kB / 0.861 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.5554, allocations: 126.7 kB / 0.8611 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.5557, allocations: 295.7 kB / 0.8614 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.5557, allocations: 25.7 kB / 0.8614 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.408e-05/0.5558, allocations: 142 kB / 0.8616 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.5558, allocations: 0 / 0.8616 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.5558, allocations: 22.66 kB / 0.8616 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5559, allocations: 335.6 kB / 0.8619 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.024e-05/0.556, allocations: 2.812 kB / 0.8619 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.397e-05/0.556, allocations: 37.8 kB / 0.8619 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.818e-05/0.556, allocations: 30.69 kB / 0.862 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.556, allocations: 0 / 0.862 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001083/0.5561, allocations: 75.03 kB / 0.862 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.5562, allocations: 8.719 kB / 0.862 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.5562, allocations: 96 / 0.862 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.5562, allocations: 6.172 kB / 0.862 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.447e-05/0.5562, allocations: 5.656 kB / 0.8621 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5562, allocations: 2.125 kB / 0.8621 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.535e-05/0.5563, allocations: 20.94 kB / 0.8621 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.5563, allocations: 2.719 kB / 0.8621 GB, free: 2.762 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 0.0001047/0.5564, allocations: 205.2 kB / 0.8623 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.5565, allocations: 131.1 kB / 0.8624 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.043e-05/0.5566, allocations: 121.8 kB / 0.8625 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.725e-05/0.5566, allocations: 180.2 kB / 0.8627 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-05/0.5567, allocations: 180.3 kB / 0.8629 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-05/0.5568, allocations: 182.3 kB / 0.863 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.557, allocations: 470.2 kB / 0.8635 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.609e-05/0.557, allocations: 105 kB / 0.8636 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.5571, allocations: 115.4 kB / 0.8637 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-05/0.5571, allocations: 180.2 kB / 0.8639 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.703e-05/0.5572, allocations: 183 kB / 0.864 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.321e-05/0.5573, allocations: 176.3 kB / 0.8642 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.773e-05/0.5573, allocations: 180.3 kB / 0.8644 GB, free: 320 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.5575, allocations: 336.2 kB / 0.8647 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.084e-05/0.5576, allocations: 202.5 kB / 0.8649 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/0.5576, allocations: 178.3 kB / 0.8651 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/0.5577, allocations: 101 kB / 0.8652 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.5578, allocations: 186.8 kB / 0.8653 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.661e-05/0.5579, allocations: 109 kB / 0.8654 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001663/0.558, allocations: 207.7 kB / 0.8656 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.558, allocations: 0 / 0.8656 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002269/0.5583, allocations: 22.69 kB / 0.8657 GB, free: 15.03 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.0003478/0.5586, allocations: 0.8351 MB / 0.8665 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 5.249e-05/0.5587, allocations: 12.19 kB / 0.8665 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5587, allocations: 0 / 0.8665 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.5587, allocations: 0 / 0.8665 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007593/0.5594, allocations: 0.6035 MB / 0.8671 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.5614, allocations: 2.259 MB / 0.8693 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.5617, allocations: 0.7293 MB / 0.87 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.586e-05/0.5617, allocations: 26.7 kB / 0.87 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.25e-05/0.5618, allocations: 57.05 kB / 0.8701 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.5618, allocations: 0 / 0.8701 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4688/1.031, allocations: 4.414 MB / 0.8744 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/1.031, allocations: 228 kB / 0.8746 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/2.726, allocations: 0 / 0.8746 GB, free: 8.668 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)