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.006509/0.006509, allocations: 101.9 kB / 15.73 MB, free: 6 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.001255/0.001255, allocations: 196 kB / 16.67 MB, free: 5.926 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00219/0.00219, allocations: 284.1 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9287/0.9287, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 99.84 kB / 0.681 GB, free: 7.438 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4952/0.4968, allocations: 86.98 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1505/0.6474, allocations: 147.9 MB / 0.9104 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004565/0.652, allocations: 4.638 MB / 0.9149 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002187/0.6523, allocations: 12 kB / 0.9149 GB, free: 10.68 MB / 0.6856 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.0005009/0.6528, allocations: 166.8 kB / 0.9151 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.6531, allocations: 83.48 kB / 0.9152 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.6532, allocations: 63.86 kB / 0.9152 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0003103/0.6536, allocations: 286.9 kB / 0.9155 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.6538, allocations: 106.7 kB / 0.9156 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.654, allocations: 107.5 kB / 0.9157 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.6541, allocations: 131.5 kB / 0.9158 GB, free: 9.742 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.6542, allocations: 19.94 kB / 0.9159 GB, free: 9.723 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 2.218e-05/0.6542, allocations: 8 kB / 0.9159 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 2.623e-05/0.6542, allocations: 31.86 kB / 0.9159 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 6.482e-05/0.6543, allocations: 67.62 kB / 0.916 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.6545, allocations: 163.3 kB / 0.9161 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6545, allocations: 0 / 0.9161 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6545, allocations: 0 / 0.9161 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.6545, allocations: 0 / 0.9161 GB, free: 9.457 MB / 0.6856 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.0003851/0.6549, allocations: 454.5 kB / 0.9166 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.6549, allocations: 8.031 kB / 0.9166 GB, free: 8.957 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.655, allocations: 50.73 kB / 0.9166 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.655, allocations: 20.75 kB / 0.9166 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.6553, allocations: 257.1 kB / 0.9169 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.6553, allocations: 12.12 kB / 0.9169 GB, free: 8.578 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.6554, allocations: 19.94 kB / 0.9169 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.6556, allocations: 213.7 kB / 0.9171 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.6556, allocations: 7.938 kB / 0.9171 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.6557, allocations: 8 kB / 0.9171 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.6557, allocations: 4 kB / 0.9171 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.6558, allocations: 67.8 kB / 0.9172 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009062/0.6567, allocations: 1.583 MB / 0.9187 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 7.437e-05/0.6568, allocations: 173.1 kB / 0.9189 GB, free: 6.359 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.082e-05/0.6568, allocations: 80.14 kB / 0.919 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.6568, allocations: 79.22 kB / 0.9191 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.6569, allocations: 117.8 kB / 0.9192 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.6569, allocations: 0 / 0.9192 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of matching and sorting (n=0): time 7.184e-05/0.657, allocations: 41.52 kB / 0.9192 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.657, allocations: 126.7 kB / 0.9193 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.6573, allocations: 258.5 kB / 0.9196 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.6573, allocations: 25.7 kB / 0.9196 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 8.494e-05/0.6574, allocations: 135.8 kB / 0.9197 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.098e-06/0.6574, allocations: 3.984 kB / 0.9197 GB, free: 5.461 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.6574, allocations: 29.7 kB / 0.9198 GB, free: 5.426 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.6575, allocations: 322.8 kB / 0.9201 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.6575, allocations: 8 kB / 0.9201 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.256e-05/0.6576, allocations: 53.94 kB / 0.9201 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.346e-05/0.6577, allocations: 57.95 kB / 0.9202 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.6577, allocations: 3.938 kB / 0.9202 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001499/0.6578, allocations: 97.22 kB / 0.9203 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.6578, allocations: 8 kB / 0.9203 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.6579, allocations: 3.984 kB / 0.9203 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.6579, allocations: 4 kB / 0.9203 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.57e-05/0.6579, allocations: 8 kB / 0.9203 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.658, allocations: 7.938 kB / 0.9203 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.984e-05/0.658, allocations: 15.78 kB / 0.9203 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.658, allocations: 8.219 kB / 0.9203 GB, free: 4.781 MB / 0.6856 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.973e-05/0.6581, allocations: 207.4 kB / 0.9205 GB, free: 4.57 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.049e-05/0.6582, allocations: 128.7 kB / 0.9207 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.337e-05/0.6583, allocations: 113.9 kB / 0.9208 GB, free: 4.316 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.174e-05/0.6583, allocations: 188.2 kB / 0.9209 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.337e-05/0.6584, allocations: 180.2 kB / 0.9211 GB, free: 3.941 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.457e-05/0.6585, allocations: 184.2 kB / 0.9213 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.6587, allocations: 457.1 kB / 0.9217 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.068e-05/0.6588, allocations: 105 kB / 0.9218 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.6588, allocations: 104.9 kB / 0.9219 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-05/0.6589, allocations: 176.3 kB / 0.9221 GB, free: 2.852 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-05/0.6589, allocations: 184.2 kB / 0.9223 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-05/0.659, allocations: 184.3 kB / 0.9224 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.026e-05/0.659, allocations: 180.2 kB / 0.9226 GB, free: 2.293 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.6592, allocations: 323.6 kB / 0.9229 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-05/0.6592, allocations: 201.8 kB / 0.9231 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.266e-05/0.6593, allocations: 180.3 kB / 0.9233 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.671e-05/0.6594, allocations: 104.9 kB / 0.9234 GB, free: 1.438 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.6595, allocations: 184.2 kB / 0.9236 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.6595, allocations: 101 kB / 0.9237 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001423/0.6597, allocations: 182 kB / 0.9238 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6597, allocations: 0 / 0.9238 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002464/0.6599, allocations: 16 kB / 0.9238 GB, free: 0.957 MB / 0.6856 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.000358/0.6603, allocations: 0.8319 MB / 0.9247 GB, free: 96 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 7.131e-05/0.6604, allocations: 20.3 kB / 0.9247 GB, free: 76 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6604, allocations: 448 / 0.9247 GB, free: 76 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.6604, allocations: 4 kB / 0.9247 GB, free: 72 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000611/0.661, allocations: 0.5028 MB / 0.9252 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.6629, allocations: 2.051 MB / 0.9272 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.6632, allocations: 0.7124 MB / 0.9279 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 7.244e-05/0.6632, allocations: 25.52 kB / 0.9279 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.445e-05/0.6633, allocations: 47.42 kB / 0.9279 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of SimCode: time 2.3e-07/0.6633, allocations: 0 / 0.9279 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.6829, allocations: 3.626 MB / 0.9315 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.204/7.887, allocations: 19.34 kB / 0.9315 GB, free: 9.105 MB / 0.7012 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)