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.001245/0.001245, allocations: 108.5 kB / 15.99 MB, free: 5.91 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.001334/0.001334, allocations: 192.2 kB / 16.91 MB, free: 5.754 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.309/1.309, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002048/0.002048, allocations: 286.9 kB / 291 MB, free: 14.62 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9002/0.9002, allocations: 169.2 MB / 0.4985 GB, free: 4.727 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 93.25 kB / 0.5953 GB, free: 4.422 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1777, allocations: 86.97 MB / 0.6803 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.4682/0.646, allocations: 145.9 MB / 0.8227 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005251/0.6513, allocations: 4.597 MB / 0.8272 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003176/0.6516, allocations: 10.56 kB / 0.8272 GB, free: 11.78 MB / 0.5919 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.0006264/0.6522, allocations: 147.3 kB / 0.8274 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.6526, allocations: 79.97 kB / 0.8275 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.6527, allocations: 50.16 kB / 0.8275 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003676/0.6531, allocations: 292.5 kB / 0.8278 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.6534, allocations: 112.2 kB / 0.8279 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.6536, allocations: 100.3 kB / 0.828 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.6539, allocations: 147.8 kB / 0.8281 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.6539, allocations: 10.56 kB / 0.8281 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 3.299e-05/0.654, allocations: 9.969 kB / 0.8281 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.165e-05/0.654, allocations: 29.8 kB / 0.8282 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.875e-05/0.6541, allocations: 73.52 kB / 0.8282 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.6543, allocations: 111.1 kB / 0.8284 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6543, allocations: 0.5156 kB / 0.8284 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6543, allocations: 1.188 kB / 0.8284 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.6544, allocations: 0 / 0.8284 GB, free: 11.19 MB / 0.5919 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.0005266/0.6549, allocations: 446.4 kB / 0.8288 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.6549, allocations: 13.98 kB / 0.8288 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.655, allocations: 21.72 kB / 0.8288 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.6553, allocations: 243 kB / 0.829 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.6554, allocations: 11.25 kB / 0.8291 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.6554, allocations: 17.66 kB / 0.8291 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.6558, allocations: 215.9 kB / 0.8293 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.6558, allocations: 0 / 0.8293 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.6558, allocations: 6.531 kB / 0.8293 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.639e-06/0.6559, allocations: 5.688 kB / 0.8293 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.656, allocations: 69.91 kB / 0.8294 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.6573, allocations: 1.588 MB / 0.8309 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.6575, allocations: 170.6 kB / 0.8311 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.517e-05/0.6575, allocations: 85.16 kB / 0.8312 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.6576, allocations: 79.22 kB / 0.8312 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.6576, allocations: 111.7 kB / 0.8313 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.6576, allocations: 0 / 0.8313 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 0.0001013/0.6577, allocations: 50.94 kB / 0.8314 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.6578, allocations: 127.9 kB / 0.8315 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.6581, allocations: 243.7 kB / 0.8317 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.6581, allocations: 25.7 kB / 0.8318 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.6582, allocations: 144.2 kB / 0.8319 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-06/0.6582, allocations: 1.438 kB / 0.8319 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.6583, allocations: 21.17 kB / 0.8319 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6584, allocations: 331.8 kB / 0.8322 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/0.6584, allocations: 12.47 kB / 0.8322 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.122e-05/0.6585, allocations: 51.91 kB / 0.8323 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.913e-05/0.6585, allocations: 65.08 kB / 0.8324 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6585, allocations: 0 / 0.8324 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001617/0.6587, allocations: 94.83 kB / 0.8325 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.6587, allocations: 9.453 kB / 0.8325 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6587, allocations: 1.156 kB / 0.8325 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.6588, allocations: 2.219 kB / 0.8325 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.6588, allocations: 16.7 kB / 0.8325 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.6589, allocations: 2.25 kB / 0.8325 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.6589, allocations: 21.3 kB / 0.8325 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.6589, allocations: 3.719 kB / 0.8325 GB, free: 7.246 MB / 0.5919 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.0001081/0.659, allocations: 195.8 kB / 0.8327 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.909e-05/0.6591, allocations: 130.8 kB / 0.8328 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.421e-05/0.6592, allocations: 124.3 kB / 0.8329 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.218e-05/0.6593, allocations: 182.2 kB / 0.8331 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.444e-05/0.6593, allocations: 177.3 kB / 0.8333 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.314e-05/0.6594, allocations: 177.2 kB / 0.8334 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.6597, allocations: 466.2 kB / 0.8339 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.651e-05/0.6598, allocations: 106.7 kB / 0.834 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.514e-05/0.6598, allocations: 106.7 kB / 0.8341 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.126e-05/0.6599, allocations: 182.2 kB / 0.8343 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.85e-05/0.6599, allocations: 178.1 kB / 0.8344 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.009e-05/0.66, allocations: 181.8 kB / 0.8346 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.627e-05/0.6601, allocations: 181.9 kB / 0.8348 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.6602, allocations: 328.2 kB / 0.8351 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.094e-05/0.6603, allocations: 196.6 kB / 0.8353 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.069e-05/0.6604, allocations: 182.7 kB / 0.8355 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.033e-05/0.6605, allocations: 106.8 kB / 0.8356 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.651e-05/0.6606, allocations: 183.4 kB / 0.8357 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.6606, allocations: 102.6 kB / 0.8358 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001769/0.6608, allocations: 182.5 kB / 0.836 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6608, allocations: 0 / 0.836 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002445/0.6611, allocations: 19.41 kB / 0.836 GB, free: 3.613 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.000138/0.6612, allocations: 171.5 kB / 0.8362 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.85e-05/0.6613, allocations: 25.88 kB / 0.8362 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6613, allocations: 1.156 kB / 0.8362 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-06/0.6613, allocations: 3.938 kB / 0.8362 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007317/0.6621, allocations: 0.5069 MB / 0.8367 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/0.6626, allocations: 379.4 kB / 0.8371 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.6629, allocations: 0.7149 MB / 0.8378 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.663, allocations: 16.47 kB / 0.8378 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.663, allocations: 0 / 0.8378 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of Templates: time 0.004219/0.6672, allocations: 1.867 MB / 0.8396 GB, free: 1.77 MB / 0.5919 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)