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: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 110.2 kB / 16.41 MB, free: 6.008 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.001701/0.001701, allocations: 185 kB / 17.34 MB, free: 5.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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002257/0.002257, allocations: 298.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002079, allocations: 88.23 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4797/0.4818, allocations: 86.99 MB / 0.7671 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1611/0.643, allocations: 147.9 MB / 0.9115 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004925/0.648, allocations: 4.638 MB / 0.9161 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003196/0.6483, allocations: 11.94 kB / 0.9161 GB, free: 10.88 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.0005936/0.649, allocations: 162.9 kB / 0.9162 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.6493, allocations: 91.42 kB / 0.9163 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.6494, allocations: 59.92 kB / 0.9164 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.6498, allocations: 290.9 kB / 0.9167 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.65, allocations: 114.5 kB / 0.9168 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.6502, allocations: 99.58 kB / 0.9169 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.6504, allocations: 135.4 kB / 0.917 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.6504, allocations: 12 kB / 0.917 GB, free: 9.93 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 2.795e-05/0.6504, allocations: 16 kB / 0.917 GB, free: 9.914 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 2.471e-05/0.6505, allocations: 31.8 kB / 0.917 GB, free: 9.883 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.6505, allocations: 67.62 kB / 0.9171 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.6507, allocations: 161.9 kB / 0.9173 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.6507, allocations: 0 / 0.9173 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6507, allocations: 0 / 0.9173 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.6508, allocations: 0 / 0.9173 GB, free: 9.66 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.0004395/0.6512, allocations: 446.6 kB / 0.9177 GB, free: 9.176 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.6513, allocations: 8.031 kB / 0.9177 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.6513, allocations: 20.75 kB / 0.9177 GB, free: 9.148 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.6517, allocations: 257.4 kB / 0.918 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.6517, allocations: 8.375 kB / 0.918 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.6517, allocations: 23.94 kB / 0.918 GB, free: 8.828 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.652, allocations: 217.7 kB / 0.9182 GB, free: 8.57 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.652, allocations: 0 / 0.9182 GB, free: 8.57 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.652, allocations: 12 kB / 0.9182 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.652, allocations: 8 kB / 0.9182 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.6521, allocations: 71.73 kB / 0.9183 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008803/0.653, allocations: 1.582 MB / 0.9198 GB, free: 6.801 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 7.464e-05/0.6531, allocations: 181.1 kB / 0.92 GB, free: 6.613 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.714e-05/0.6531, allocations: 80.14 kB / 0.9201 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.6532, allocations: 75.28 kB / 0.9202 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.6532, allocations: 105.8 kB / 0.9203 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.6532, allocations: 0 / 0.9203 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of matching and sorting (n=0): time 7.612e-05/0.6533, allocations: 53.45 kB / 0.9203 GB, free: 6.285 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.6534, allocations: 130.7 kB / 0.9204 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.6536, allocations: 246.5 kB / 0.9207 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.6536, allocations: 25.7 kB / 0.9207 GB, free: 5.867 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 8.58e-05/0.6537, allocations: 143.8 kB / 0.9208 GB, free: 5.723 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-06/0.6537, allocations: 0 / 0.9208 GB, free: 5.723 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.6538, allocations: 25.69 kB / 0.9208 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6539, allocations: 330.8 kB / 0.9212 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.6539, allocations: 8 kB / 0.9212 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.363e-05/0.6539, allocations: 46 kB / 0.9212 GB, free: 5.285 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.315e-05/0.654, allocations: 65.89 kB / 0.9213 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.654, allocations: 0 / 0.9213 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000154/0.6542, allocations: 93.44 kB / 0.9214 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.6542, allocations: 12 kB / 0.9214 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.6542, allocations: 0 / 0.9214 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.6542, allocations: 7.984 kB / 0.9214 GB, free: 5.082 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.562e-05/0.6543, allocations: 15.88 kB / 0.9214 GB, free: 5.066 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.6543, allocations: 4 kB / 0.9214 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.6544, allocations: 15.78 kB / 0.9214 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.6544, allocations: 4 kB / 0.9214 GB, free: 5.043 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 0.0001021/0.6545, allocations: 203.5 kB / 0.9216 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.998e-05/0.6546, allocations: 124.7 kB / 0.9217 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.06e-05/0.6546, allocations: 117.8 kB / 0.9219 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.583e-05/0.6547, allocations: 188.2 kB / 0.922 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.94e-05/0.6547, allocations: 180.2 kB / 0.9222 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.825e-05/0.6548, allocations: 176.3 kB / 0.9224 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.655, allocations: 461 kB / 0.9228 GB, free: 3.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.123e-05/0.6551, allocations: 109 kB / 0.9229 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.803e-05/0.6551, allocations: 101 kB / 0.923 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.296e-05/0.6552, allocations: 184.1 kB / 0.9232 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.201e-05/0.6552, allocations: 180.2 kB / 0.9234 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.917e-05/0.6553, allocations: 184.2 kB / 0.9235 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.677e-05/0.6553, allocations: 180.4 kB / 0.9237 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.6555, allocations: 331.4 kB / 0.924 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 7.803e-05/0.6555, allocations: 197.9 kB / 0.9242 GB, free: 1.992 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/0.6556, allocations: 184.2 kB / 0.9244 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.6557, allocations: 105 kB / 0.9245 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.6558, allocations: 188.2 kB / 0.9247 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.6558, allocations: 101 kB / 0.9248 GB, free: 1.398 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001376/0.656, allocations: 178 kB / 0.9249 GB, free: 1.23 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.656, allocations: 0 / 0.9249 GB, free: 1.23 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002469/0.6562, allocations: 20 kB / 0.925 GB, free: 1.211 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.0001204/0.6563, allocations: 174.5 kB / 0.9251 GB, free: 1.027 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 8.029e-05/0.6564, allocations: 27.92 kB / 0.9251 GB, free: 1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6564, allocations: 0 / 0.9251 GB, free: 1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.6564, allocations: 0 / 0.9251 GB, free: 1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.657, allocations: 0.5063 MB / 0.9256 GB, free: 0.4922 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.6575, allocations: 340.9 kB / 0.926 GB, free: 128 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.6578, allocations: 0.7163 MB / 0.9267 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.6578, allocations: 15.44 kB / 0.9267 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of SimCode: time 3.71e-07/0.6578, allocations: 4 kB / 0.9267 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of Templates: time 0.003593/0.6614, allocations: 1.879 MB / 0.9285 GB, free: 13.5 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)