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.001135/0.001135, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001191/0.001191, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.243/1.243, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001871/0.001871, allocations: 282.8 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8413/0.8413, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 89.2 kB / 0.5946 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1334, allocations: 86.99 MB / 0.6796 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.3945/0.528, allocations: 145.7 MB / 0.8219 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003876/0.5319, allocations: 4.601 MB / 0.8264 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.5321, allocations: 9.469 kB / 0.8264 GB, free: 1.047 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.0004883/0.5326, allocations: 137.9 kB / 0.8265 GB, free: 1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.5329, allocations: 81.72 kB / 0.8266 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001086/0.533, allocations: 49.12 kB / 0.8266 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.5333, allocations: 360.8 kB / 0.827 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.5335, allocations: 105.3 kB / 0.8271 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.5336, allocations: 97.56 kB / 0.8272 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.5338, allocations: 136 kB / 0.8273 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.5338, allocations: 8.188 kB / 0.8273 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.39e-05/0.5338, allocations: 7.062 kB / 0.8273 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.5339, allocations: 27.06 kB / 0.8274 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.959e-05/0.5339, allocations: 72.28 kB / 0.8274 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.534, allocations: 145.9 kB / 0.8276 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5341, allocations: 0 / 0.8276 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5341, allocations: 0 / 0.8276 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.5341, allocations: 1.125 kB / 0.8276 GB, free: 0.7578 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.0003733/0.5344, allocations: 447.2 kB / 0.828 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.5345, allocations: 9.719 kB / 0.828 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.5345, allocations: 44.81 kB / 0.828 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.5346, allocations: 25.84 kB / 0.8281 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.5348, allocations: 240.5 kB / 0.8283 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.5348, allocations: 12.17 kB / 0.8283 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.5348, allocations: 16.94 kB / 0.8283 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.535, allocations: 212.5 kB / 0.8285 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5351, allocations: 1.156 kB / 0.8285 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.5351, allocations: 9.062 kB / 0.8285 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.5351, allocations: 10.34 kB / 0.8285 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.8e-05/0.5352, allocations: 71.86 kB / 0.8286 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008367/0.536, allocations: 1.588 MB / 0.8302 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.02e-05/0.5361, allocations: 174.1 kB / 0.8303 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.5361, allocations: 80.14 kB / 0.8304 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.5362, allocations: 75.28 kB / 0.8305 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.5362, allocations: 111 kB / 0.8306 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.5362, allocations: 0 / 0.8306 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.016e-05/0.5363, allocations: 52.19 kB / 0.8306 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.5364, allocations: 131.8 kB / 0.8308 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.5366, allocations: 242.8 kB / 0.831 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.709e-06/0.5366, allocations: 25.7 kB / 0.831 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.673e-05/0.5367, allocations: 144.1 kB / 0.8312 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/0.5367, allocations: 5.312 kB / 0.8312 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.5367, allocations: 21.02 kB / 0.8312 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.5368, allocations: 330.5 kB / 0.8315 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.5368, allocations: 6.562 kB / 0.8315 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-05/0.5369, allocations: 47.86 kB / 0.8315 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.818e-05/0.5369, allocations: 65.72 kB / 0.8316 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5369, allocations: 1.094 kB / 0.8316 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001413/0.5371, allocations: 93.09 kB / 0.8317 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.5371, allocations: 5.688 kB / 0.8317 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5371, allocations: 2.125 kB / 0.8317 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.5371, allocations: 2.094 kB / 0.8317 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.75e-05/0.5372, allocations: 16.88 kB / 0.8317 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.5372, allocations: 2.828 kB / 0.8317 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.7e-05/0.5373, allocations: 25.06 kB / 0.8318 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.5373, allocations: 10.78 kB / 0.8318 GB, free: 13.06 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.482e-05/0.5374, allocations: 201 kB / 0.832 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.947e-05/0.5375, allocations: 120.7 kB / 0.8321 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.906e-05/0.5375, allocations: 120 kB / 0.8322 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.556e-05/0.5376, allocations: 177.4 kB / 0.8324 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.987e-05/0.5376, allocations: 187.5 kB / 0.8325 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.755e-05/0.5377, allocations: 185.4 kB / 0.8327 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.5379, allocations: 457.8 kB / 0.8331 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.788e-05/0.538, allocations: 102.2 kB / 0.8332 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.808e-05/0.538, allocations: 102.1 kB / 0.8333 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.977e-05/0.5381, allocations: 191.9 kB / 0.8335 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/0.5381, allocations: 180.3 kB / 0.8337 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.456e-05/0.5382, allocations: 181.4 kB / 0.8339 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.807e-05/0.5383, allocations: 177.4 kB / 0.834 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.5384, allocations: 324.4 kB / 0.8343 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.358e-05/0.5385, allocations: 199.8 kB / 0.8345 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.916e-05/0.5386, allocations: 185 kB / 0.8347 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.5386, allocations: 101 kB / 0.8348 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.5387, allocations: 177.3 kB / 0.835 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.5387, allocations: 109.7 kB / 0.8351 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001336/0.5389, allocations: 178.5 kB / 0.8353 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5389, allocations: 0 / 0.8353 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002327/0.5391, allocations: 27.28 kB / 0.8353 GB, free: 9.496 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.0003559/0.5395, allocations: 0.8246 MB / 0.8361 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.745e-05/0.5396, allocations: 23.83 kB / 0.8361 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5396, allocations: 9.312 kB / 0.8361 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.5396, allocations: 0 / 0.8361 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000675/0.5403, allocations: 0.5685 MB / 0.8367 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.542, allocations: 2.084 MB / 0.8387 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.5423, allocations: 0.7184 MB / 0.8394 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.547e-05/0.5423, allocations: 16.38 kB / 0.8394 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/0.5424, allocations: 47.88 kB / 0.8395 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.5424, allocations: 1.156 kB / 0.8395 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.224/1.767, allocations: 3.352 MB / 0.8427 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/1.767, allocations: 226.8 kB / 0.843 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.071/3.838, allocations: 0 / 0.843 GB, free: 4.746 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)