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: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00791/0.00791, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.001695/0.001695, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002234/0.002234, allocations: 279 kB / 290.8 MB, free: 1.746 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9887/0.9887, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 91.86 kB / 0.6814 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1581, allocations: 86.97 MB / 0.7664 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.4972/0.6554, allocations: 174 MB / 0.9363 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009276/0.6647, allocations: 9.507 MB / 0.9456 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.665, allocations: 11.94 kB / 0.9456 GB, free: 11.18 MB / 0.7012 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.0005641/0.6656, allocations: 186.7 kB / 0.9458 GB, free: 11 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.6658, allocations: 99.3 kB / 0.9459 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.6659, allocations: 63.91 kB / 0.9459 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.6663, allocations: 314.7 kB / 0.9462 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.6665, allocations: 145 kB / 0.9464 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003109/0.6668, allocations: 167.3 kB / 0.9465 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.667, allocations: 103.5 kB / 0.9466 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.667, allocations: 16 kB / 0.9466 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 2.744e-05/0.667, allocations: 16 kB / 0.9466 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.6671, allocations: 35.86 kB / 0.9467 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 8.07e-05/0.6672, allocations: 103.5 kB / 0.9468 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.6674, allocations: 217.1 kB / 0.947 GB, free: 9.75 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6674, allocations: 0 / 0.947 GB, free: 9.75 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6674, allocations: 0 / 0.947 GB, free: 9.75 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.6674, allocations: 0 / 0.947 GB, free: 9.75 MB / 0.7012 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.000423/0.6678, allocations: 486.8 kB / 0.9475 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.6679, allocations: 8.031 kB / 0.9475 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.6679, allocations: 27.8 kB / 0.9475 GB, free: 9.191 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.6682, allocations: 258.6 kB / 0.9477 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.6683, allocations: 16.44 kB / 0.9477 GB, free: 8.883 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.6683, allocations: 20 kB / 0.9478 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.6686, allocations: 233.5 kB / 0.948 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.6686, allocations: 0 / 0.948 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.6686, allocations: 12 kB / 0.948 GB, free: 8.59 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.6686, allocations: 11.88 kB / 0.948 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.6688, allocations: 91.78 kB / 0.9481 GB, free: 8.488 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009061/0.6697, allocations: 1.441 MB / 0.9495 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 7.495e-05/0.6698, allocations: 169.1 kB / 0.9497 GB, free: 6.785 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.6698, allocations: 80.14 kB / 0.9497 GB, free: 6.703 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.6698, allocations: 79.27 kB / 0.9498 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.6699, allocations: 113.8 kB / 0.9499 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.6699, allocations: 0 / 0.9499 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 8.173e-05/0.67, allocations: 57.48 kB / 0.95 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.6701, allocations: 126.7 kB / 0.9501 GB, free: 6.305 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.6703, allocations: 279 kB / 0.9504 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.6703, allocations: 25.7 kB / 0.9504 GB, free: 6 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 9.359e-05/0.6704, allocations: 144 kB / 0.9505 GB, free: 5.855 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.6704, allocations: 4 kB / 0.9505 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.6705, allocations: 21.7 kB / 0.9506 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.6706, allocations: 330.8 kB / 0.9509 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.6706, allocations: 11.98 kB / 0.9509 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.987e-05/0.6706, allocations: 23.44 kB / 0.9509 GB, free: 5.445 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.098e-05/0.6707, allocations: 39.38 kB / 0.9509 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6707, allocations: 3.938 kB / 0.9509 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001291/0.6708, allocations: 73.48 kB / 0.951 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.6709, allocations: 4 kB / 0.951 GB, free: 5.309 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6709, allocations: 0 / 0.951 GB, free: 5.309 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.6709, allocations: 8.062 kB / 0.951 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.805e-05/0.6709, allocations: 9.812 kB / 0.951 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.6709, allocations: 0 / 0.951 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.517e-05/0.671, allocations: 23.78 kB / 0.9511 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.671, allocations: 112 / 0.9511 GB, free: 5.27 MB / 0.7012 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.0001049/0.6711, allocations: 209.6 kB / 0.9513 GB, free: 5.055 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.068e-05/0.6712, allocations: 132.8 kB / 0.9514 GB, free: 4.918 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.731e-05/0.6713, allocations: 121.9 kB / 0.9515 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.462e-05/0.6713, allocations: 180.3 kB / 0.9517 GB, free: 4.602 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.411e-05/0.6714, allocations: 180.2 kB / 0.9518 GB, free: 4.418 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.754e-05/0.6715, allocations: 176.3 kB / 0.952 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.6717, allocations: 481 kB / 0.9525 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.859e-05/0.6718, allocations: 101 kB / 0.9526 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.6718, allocations: 105 kB / 0.9527 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.377e-05/0.6719, allocations: 180.2 kB / 0.9528 GB, free: 3.312 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.957e-05/0.6719, allocations: 180.3 kB / 0.953 GB, free: 3.129 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-05/0.672, allocations: 195 kB / 0.9532 GB, free: 2.934 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.797e-05/0.6721, allocations: 176.3 kB / 0.9534 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.6722, allocations: 331.6 kB / 0.9537 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 9.454e-05/0.6723, allocations: 205.9 kB / 0.9539 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-05/0.6724, allocations: 180.2 kB / 0.9541 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.445e-05/0.6725, allocations: 109 kB / 0.9542 GB, free: 1.883 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.6726, allocations: 176.3 kB / 0.9543 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.6726, allocations: 112.9 kB / 0.9544 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001749/0.6728, allocations: 202 kB / 0.9546 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6728, allocations: 0 / 0.9546 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002374/0.673, allocations: 24 kB / 0.9546 GB, free: 1.367 MB / 0.7012 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.0001108/0.6731, allocations: 174.5 kB / 0.9548 GB, free: 1.184 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 6.45e-05/0.6732, allocations: 19.86 kB / 0.9548 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6732, allocations: 256 / 0.9548 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.6732, allocations: 4 kB / 0.9548 GB, free: 1.16 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006816/0.6739, allocations: 0.5322 MB / 0.9554 GB, free: 0.6289 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.6744, allocations: 369.7 kB / 0.9557 GB, free: 248 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.6746, allocations: 0.7322 MB / 0.9564 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.266e-05/0.6747, allocations: 21.95 kB / 0.9564 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.6748, allocations: 15.44 kB / 0.9565 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6748, allocations: 0 / 0.9565 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of Templates: time 0.004911/0.6797, allocations: 2.436 MB / 0.9588 GB, free: 13.07 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)