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.001413/0.001413, allocations: 112.1 kB / 16.42 MB, free: 6.516 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.001401/0.001401, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002414/0.002414, allocations: 295.6 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 91.86 kB / 0.6821 GB, free: 6.887 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.4606, allocations: 86.98 MB / 0.7671 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1877/0.6483, allocations: 174 MB / 0.937 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01036/0.6588, allocations: 9.522 MB / 0.9463 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.6591, allocations: 8 kB / 0.9463 GB, free: 11.57 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.0006764/0.6599, allocations: 197.6 kB / 0.9465 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.6602, allocations: 95.31 kB / 0.9466 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.6605, allocations: 63.92 kB / 0.9467 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004476/0.661, allocations: 322.7 kB / 0.947 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003438/0.6613, allocations: 204.9 kB / 0.9472 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003398/0.6617, allocations: 167.3 kB / 0.9473 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.6618, allocations: 123.4 kB / 0.9475 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.6619, allocations: 20 kB / 0.9475 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.523e-05/0.6619, allocations: 24 kB / 0.9475 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.15e-05/0.662, allocations: 75.81 kB / 0.9476 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.6622, allocations: 127.3 kB / 0.9477 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.6625, allocations: 297.3 kB / 0.948 GB, free: 9.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6625, allocations: 4 kB / 0.948 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6625, allocations: 0 / 0.948 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.6625, allocations: 0 / 0.948 GB, free: 9.879 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.0005442/0.663, allocations: 0.5095 MB / 0.9485 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.6631, allocations: 8.031 kB / 0.9485 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.51e-05/0.6632, allocations: 35.56 kB / 0.9485 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.6635, allocations: 270.5 kB / 0.9488 GB, free: 8.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.6636, allocations: 20.56 kB / 0.9488 GB, free: 8.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.6636, allocations: 27.94 kB / 0.9488 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.6641, allocations: 328 kB / 0.9491 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.6641, allocations: 0 / 0.9491 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.6641, allocations: 15.94 kB / 0.9492 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.6641, allocations: 11.94 kB / 0.9492 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.6644, allocations: 147.7 kB / 0.9493 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.6657, allocations: 1.816 MB / 0.9511 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.411e-05/0.6658, allocations: 177.1 kB / 0.9513 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.6659, allocations: 80.14 kB / 0.9513 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.6659, allocations: 79.22 kB / 0.9514 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.259e-05/0.666, allocations: 105.8 kB / 0.9515 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.666, allocations: 0 / 0.9515 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.615e-05/0.6661, allocations: 57.36 kB / 0.9516 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.6661, allocations: 59.39 kB / 0.9516 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/0.6665, allocations: 369.6 kB / 0.952 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.6665, allocations: 29.69 kB / 0.952 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.6667, allocations: 163.9 kB / 0.9522 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-06/0.6667, allocations: 0 / 0.9522 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.6667, allocations: 21.62 kB / 0.9522 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6668, allocations: 338.8 kB / 0.9525 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.6669, allocations: 11.98 kB / 0.9525 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.371e-05/0.6669, allocations: 32.3 kB / 0.9525 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.813e-05/0.667, allocations: 44.23 kB / 0.9526 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.667, allocations: 0 / 0.9526 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001532/0.6671, allocations: 93.22 kB / 0.9527 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.6672, allocations: 4 kB / 0.9527 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.6672, allocations: 4 kB / 0.9527 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.6672, allocations: 0 / 0.9527 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.962e-05/0.6673, allocations: 11.98 kB / 0.9527 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.6673, allocations: 4.219 kB / 0.9527 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-05/0.6674, allocations: 35.59 kB / 0.9527 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.6674, allocations: 4.109 kB / 0.9527 GB, free: 4.68 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.0001193/0.6675, allocations: 219.4 kB / 0.9529 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-05/0.6676, allocations: 132.6 kB / 0.9531 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.815e-05/0.6677, allocations: 130.9 kB / 0.9532 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-05/0.6677, allocations: 176.3 kB / 0.9534 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.689e-05/0.6678, allocations: 113 kB / 0.9535 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.6679, allocations: 209.7 kB / 0.9537 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-05/0.668, allocations: 176.3 kB / 0.9538 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.6681, allocations: 108.9 kB / 0.9539 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.6681, allocations: 180.3 kB / 0.9541 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.871e-05/0.6682, allocations: 263.4 kB / 0.9544 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001869/0.6684, allocations: 414.7 kB / 0.9548 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.904e-05/0.6685, allocations: 104.9 kB / 0.9549 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00028/0.6688, allocations: 267.2 kB / 0.9551 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of Backend: time 6.52e-07/0.6688, allocations: 0 / 0.9551 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003836/0.6692, allocations: 102.8 kB / 0.9552 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of SimCode: time 0.001342/0.6705, allocations: 1.205 MB / 0.9564 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of Templates: time 0.3442/1.015, allocations: 3.188 MB / 0.9595 GB, free: 193.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)