Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001857/0.001857, allocations: 187 kB / 17.34 MB, free: 5.719 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002213/0.002213, allocations: 283.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9749/0.9749, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 92.23 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4967/0.4988, allocations: 86.97 MB / 0.7671 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1923/0.6911, allocations: 174 MB / 0.937 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.009717/0.7009, allocations: 9.522 MB / 0.9463 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003281/0.7013, allocations: 7.938 kB / 0.9463 GB, free: 11.55 MB / 0.7169 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 (3) 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 (3) 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.0007438/0.702, allocations: 194.6 kB / 0.9465 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.7024, allocations: 103.3 kB / 0.9466 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.7026, allocations: 63.91 kB / 0.9467 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004619/0.7031, allocations: 322.7 kB / 0.947 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003666/0.7034, allocations: 200.9 kB / 0.9472 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003641/0.7038, allocations: 175.3 kB / 0.9474 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.704, allocations: 119.4 kB / 0.9475 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.704, allocations: 20 kB / 0.9475 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.28e-05/0.7041, allocations: 24 kB / 0.9475 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.7042, allocations: 75.81 kB / 0.9476 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.7043, allocations: 123.4 kB / 0.9477 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.7046, allocations: 293.3 kB / 0.948 GB, free: 9.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.7046, allocations: 0 / 0.948 GB, free: 9.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7046, allocations: 4 kB / 0.948 GB, free: 9.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.7046, allocations: 0 / 0.948 GB, free: 9.863 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005329/0.7052, allocations: 0.5146 MB / 0.9485 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.7052, allocations: 8.031 kB / 0.9485 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.7053, allocations: 35.56 kB / 0.9485 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.7057, allocations: 275.3 kB / 0.9488 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.7057, allocations: 20.56 kB / 0.9488 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.7057, allocations: 24 kB / 0.9488 GB, free: 8.906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.7062, allocations: 335.9 kB / 0.9491 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.7062, allocations: 3.938 kB / 0.9492 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.7062, allocations: 12 kB / 0.9492 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.7063, allocations: 12 kB / 0.9492 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.7065, allocations: 147.7 kB / 0.9493 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.7078, allocations: 1.808 MB / 0.9511 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.468e-05/0.7079, allocations: 169.1 kB / 0.9512 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.3e-05/0.7079, allocations: 80.14 kB / 0.9513 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.708, allocations: 83.2 kB / 0.9514 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.786e-05/0.708, allocations: 117.8 kB / 0.9515 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.708, allocations: 0 / 0.9515 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001149/0.7082, allocations: 53.42 kB / 0.9516 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.7082, allocations: 126.7 kB / 0.9517 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003936/0.7086, allocations: 373.6 kB / 0.952 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.7087, allocations: 29.7 kB / 0.9521 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.7088, allocations: 159.9 kB / 0.9522 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.7088, allocations: 4 kB / 0.9522 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.7088, allocations: 29.55 kB / 0.9523 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.709, allocations: 334.8 kB / 0.9526 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.709, allocations: 8 kB / 0.9526 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.309e-05/0.709, allocations: 36.23 kB / 0.9526 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.689e-05/0.7091, allocations: 48.22 kB / 0.9527 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7091, allocations: 0 / 0.9527 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001595/0.7093, allocations: 85.28 kB / 0.9527 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.7093, allocations: 4 kB / 0.9527 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.7093, allocations: 8.156 kB / 0.9528 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.7093, allocations: 112 / 0.9528 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.015e-05/0.7094, allocations: 15.88 kB / 0.9528 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.7094, allocations: 0 / 0.9528 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.257e-05/0.7095, allocations: 27.59 kB / 0.9528 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.7095, allocations: 8 kB / 0.9528 GB, free: 4.582 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001406/0.7096, allocations: 215.5 kB / 0.953 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-05/0.7097, allocations: 136.6 kB / 0.9531 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.839e-05/0.7098, allocations: 130.9 kB / 0.9533 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.188e-05/0.7099, allocations: 180.3 kB / 0.9534 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-05/0.7099, allocations: 184.2 kB / 0.9536 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-05/0.71, allocations: 176.3 kB / 0.9538 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.7103, allocations: 489 kB / 0.9542 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-05/0.7104, allocations: 116.9 kB / 0.9544 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.7104, allocations: 101 kB / 0.9545 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.508e-05/0.7105, allocations: 180.2 kB / 0.9546 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-05/0.7105, allocations: 176.3 kB / 0.9548 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.496e-05/0.7106, allocations: 192.2 kB / 0.955 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-05/0.7107, allocations: 176.4 kB / 0.9551 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.7109, allocations: 335.5 kB / 0.9555 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.711, allocations: 213.6 kB / 0.9557 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.053e-05/0.7111, allocations: 184.5 kB / 0.9558 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.7112, allocations: 101 kB / 0.9559 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.7113, allocations: 192.3 kB / 0.9561 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.7113, allocations: 104.9 kB / 0.9562 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002579/0.7116, allocations: 271.2 kB / 0.9565 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7116, allocations: 0 / 0.9565 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000257/0.7118, allocations: 28 kB / 0.9565 GB, free: 0.5625 MB / 0.7169 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.0001164/0.7119, allocations: 170.5 kB / 0.9567 GB, free: 396 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.404e-05/0.712, allocations: 20 kB / 0.9567 GB, free: 376 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.712, allocations: 0 / 0.9567 GB, free: 376 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.712, allocations: 4 kB / 0.9567 GB, free: 372 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3472/1.059, allocations: 0.5443 MB / 0.9572 GB, free: 193.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008133/1.06, allocations: 471.4 kB / 0.9577 GB, free: 193.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/1.06, allocations: 0.7539 MB / 0.9584 GB, free: 192.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/1.06, allocations: 20.06 kB / 0.9584 GB, free: 192.8 MB / 0.7169 GB Notification: Performance of SimCode: time 7.92e-07/1.06, allocations: 0 / 0.9584 GB, free: 192.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.007044/1.067, allocations: 3.138 MB / 0.9615 GB, free: 192.6 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)