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.001719/0.001719, allocations: 109.6 kB / 16.41 MB, free: 6.504 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.001906/0.001906, allocations: 189.2 kB / 17.34 MB, free: 5.734 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002606/0.002606, allocations: 287.6 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.004/1.004, allocations: 169.2 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002763/0.002763, allocations: 103.8 kB / 0.6822 GB, free: 6.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.4496, allocations: 86.96 MB / 0.7671 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2046/0.6542, allocations: 174.5 MB / 0.9375 GB, free: 4.688 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01083/0.665, allocations: 9.534 MB / 0.9468 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.6653, allocations: 15.88 kB / 0.9468 GB, free: 11.11 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.0006077/0.6659, allocations: 190.7 kB / 0.947 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.6661, allocations: 99.31 kB / 0.9471 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.6663, allocations: 63.91 kB / 0.9472 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003799/0.6667, allocations: 330.6 kB / 0.9475 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002907/0.667, allocations: 148.9 kB / 0.9476 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.6673, allocations: 159.4 kB / 0.9478 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.6674, allocations: 131.3 kB / 0.9479 GB, free: 10 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.6675, allocations: 20 kB / 0.9479 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.58e-05/0.6675, allocations: 20 kB / 0.948 GB, free: 9.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.164e-05/0.6676, allocations: 75.77 kB / 0.948 GB, free: 9.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.6677, allocations: 123.4 kB / 0.9481 GB, free: 9.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.668, allocations: 292.5 kB / 0.9484 GB, free: 9.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.668, allocations: 7.938 kB / 0.9484 GB, free: 9.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.668, allocations: 0 / 0.9484 GB, free: 9.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.938e-06/0.668, allocations: 4 kB / 0.9484 GB, free: 9.477 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.0005603/0.6686, allocations: 0.5181 MB / 0.9489 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.6686, allocations: 8.031 kB / 0.949 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.6687, allocations: 35.75 kB / 0.949 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.6691, allocations: 279.4 kB / 0.9493 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.6691, allocations: 24.56 kB / 0.9493 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.6691, allocations: 24 kB / 0.9493 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/0.6696, allocations: 323.9 kB / 0.9496 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.6696, allocations: 0 / 0.9496 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.6696, allocations: 12 kB / 0.9496 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.6696, allocations: 8 kB / 0.9496 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.6699, allocations: 143.7 kB / 0.9498 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.6713, allocations: 1.812 MB / 0.9515 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.772e-05/0.6714, allocations: 181.1 kB / 0.9517 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.6714, allocations: 84.14 kB / 0.9518 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.6715, allocations: 79.22 kB / 0.9519 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.6715, allocations: 105.8 kB / 0.952 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.6715, allocations: 0 / 0.952 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.347e-05/0.6716, allocations: 53.52 kB / 0.952 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.6717, allocations: 134.6 kB / 0.9521 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.6721, allocations: 373.7 kB / 0.9525 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.6721, allocations: 25.7 kB / 0.9525 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.6723, allocations: 171.9 kB / 0.9527 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-06/0.6723, allocations: 112 / 0.9527 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.6723, allocations: 21.66 kB / 0.9527 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.6725, allocations: 338.8 kB / 0.953 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.6725, allocations: 4 kB / 0.953 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.872e-05/0.6725, allocations: 40.28 kB / 0.9531 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.792e-05/0.6726, allocations: 40.23 kB / 0.9531 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6726, allocations: 128 / 0.9531 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001615/0.6727, allocations: 105.3 kB / 0.9532 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.6727, allocations: 4 kB / 0.9532 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.6728, allocations: 4 kB / 0.9532 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.6728, allocations: 0 / 0.9532 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.742e-05/0.6728, allocations: 11.98 kB / 0.9532 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.6728, allocations: 0 / 0.9532 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.03e-05/0.6729, allocations: 27.73 kB / 0.9533 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.6729, allocations: 4 kB / 0.9533 GB, free: 4.195 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.0001483/0.6731, allocations: 219.6 kB / 0.9535 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-05/0.6732, allocations: 140.7 kB / 0.9536 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.53e-05/0.6732, allocations: 130.9 kB / 0.9537 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.571e-05/0.6733, allocations: 180.2 kB / 0.9539 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.877e-05/0.6734, allocations: 180.3 kB / 0.9541 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-05/0.6735, allocations: 188.2 kB / 0.9543 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003623/0.6738, allocations: 485.1 kB / 0.9547 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.741e-05/0.6739, allocations: 108.9 kB / 0.9548 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.923e-05/0.6739, allocations: 104.9 kB / 0.9549 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.331e-05/0.674, allocations: 180.3 kB / 0.9551 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.029e-05/0.6741, allocations: 180.2 kB / 0.9553 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.957e-05/0.6742, allocations: 192.2 kB / 0.9554 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.269e-05/0.6742, allocations: 176.3 kB / 0.9556 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.6744, allocations: 327.6 kB / 0.9559 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.6746, allocations: 217.8 kB / 0.9561 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.6747, allocations: 184.5 kB / 0.9563 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.6748, allocations: 101 kB / 0.9564 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.084e-05/0.6749, allocations: 188.2 kB / 0.9566 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/0.6749, allocations: 101 kB / 0.9567 GB, free: 480 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00029/0.6752, allocations: 271.2 kB / 0.9569 GB, free: 208 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6752, allocations: 0 / 0.9569 GB, free: 208 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000266/0.6755, allocations: 31.94 kB / 0.957 GB, free: 176 kB / 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.3307/1.006, allocations: 181.7 kB / 0.9571 GB, free: 194.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000127/1.006, allocations: 13.97 kB / 0.9572 GB, free: 194.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.006, allocations: 0 / 0.9572 GB, free: 194.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/1.006, allocations: 4.188 kB / 0.9572 GB, free: 194.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007945/1.007, allocations: 0.5614 MB / 0.9577 GB, free: 193.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006498/1.008, allocations: 445.3 kB / 0.9581 GB, free: 193.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/1.008, allocations: 0.7543 MB / 0.9589 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001006/1.008, allocations: 34.55 kB / 0.9589 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/1.008, allocations: 19.75 kB / 0.9589 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of SimCode: time 4.71e-07/1.008, allocations: 0 / 0.9589 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.008025/1.016, allocations: 3.191 MB / 0.962 GB, free: 192.5 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)