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.001588/0.001588, allocations: 107.8 kB / 16.41 MB, free: 6.488 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.001897/0.001897, allocations: 187 kB / 17.34 MB, free: 5.73 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.731/1.731, 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.002234/0.002234, allocations: 289.5 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 0.948/0.948, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 95.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4156, allocations: 86.98 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1769/0.5925, allocations: 174 MB / 0.937 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.009549/0.6021, allocations: 9.511 MB / 0.9463 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000353/0.6025, allocations: 11.94 kB / 0.9463 GB, free: 11.67 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.0007331/0.6032, allocations: 198.6 kB / 0.9465 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.6036, allocations: 95.31 kB / 0.9466 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.6038, allocations: 59.92 kB / 0.9467 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.6042, allocations: 326.7 kB / 0.947 GB, free: 11 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003497/0.6046, allocations: 204.9 kB / 0.9472 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.6049, allocations: 167.4 kB / 0.9473 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.6051, allocations: 127.3 kB / 0.9475 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.6052, allocations: 20 kB / 0.9475 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.537e-05/0.6052, allocations: 24 kB / 0.9475 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.111e-05/0.6053, allocations: 71.81 kB / 0.9476 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.6054, allocations: 127.3 kB / 0.9477 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.6057, allocations: 293.4 kB / 0.948 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.6057, allocations: 0 / 0.948 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6058, allocations: 4 kB / 0.948 GB, free: 9.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.6058, allocations: 4 kB / 0.948 GB, free: 9.977 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.0005103/0.6063, allocations: 0.5095 MB / 0.9485 GB, free: 9.422 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.6063, allocations: 8.031 kB / 0.9485 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.6064, allocations: 35.56 kB / 0.9485 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.6068, allocations: 274.5 kB / 0.9488 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.6068, allocations: 20.56 kB / 0.9488 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.6069, allocations: 24 kB / 0.9488 GB, free: 9.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.6073, allocations: 331.9 kB / 0.9491 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.6074, allocations: 0 / 0.9491 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.6074, allocations: 15.98 kB / 0.9492 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.6074, allocations: 8 kB / 0.9492 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.6076, allocations: 147.6 kB / 0.9493 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.6089, allocations: 1.812 MB / 0.9511 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.609, allocations: 177.1 kB / 0.9512 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/0.6091, allocations: 80.14 kB / 0.9513 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.6091, allocations: 83.22 kB / 0.9514 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.6092, allocations: 113.8 kB / 0.9515 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.6092, allocations: 0 / 0.9515 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.913e-05/0.6093, allocations: 49.42 kB / 0.9516 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.6093, allocations: 130.7 kB / 0.9517 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.6097, allocations: 377.5 kB / 0.952 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.6097, allocations: 29.7 kB / 0.9521 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.6099, allocations: 167.8 kB / 0.9522 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.6099, allocations: 0 / 0.9522 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.6099, allocations: 21.62 kB / 0.9522 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.61, allocations: 334.8 kB / 0.9526 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.6101, allocations: 8 kB / 0.9526 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.112e-05/0.6101, allocations: 36.28 kB / 0.9526 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.028e-05/0.6102, allocations: 44.23 kB / 0.9527 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6102, allocations: 0 / 0.9527 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001517/0.6103, allocations: 93.25 kB / 0.9527 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.6103, allocations: 4 kB / 0.9527 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.6104, allocations: 4.125 kB / 0.9527 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.6104, allocations: 0 / 0.9527 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.945e-05/0.6104, allocations: 15.98 kB / 0.9528 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.6104, allocations: 0 / 0.9528 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.251e-05/0.6105, allocations: 27.59 kB / 0.9528 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.6105, allocations: 4 kB / 0.9528 GB, free: 4.707 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.0001328/0.6107, allocations: 227.5 kB / 0.953 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.201e-05/0.6108, allocations: 132.8 kB / 0.9531 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.065e-05/0.6108, allocations: 126.9 kB / 0.9533 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.037e-05/0.6109, allocations: 180.2 kB / 0.9534 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.32e-05/0.611, allocations: 184.3 kB / 0.9536 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.357e-05/0.611, allocations: 184.2 kB / 0.9538 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.6114, allocations: 489.1 kB / 0.9542 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.812e-05/0.6114, allocations: 108.9 kB / 0.9544 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.892e-05/0.6114, allocations: 104.9 kB / 0.9545 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-05/0.6115, allocations: 176.3 kB / 0.9546 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.305e-05/0.6116, allocations: 184.2 kB / 0.9548 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.953e-05/0.6116, allocations: 184.3 kB / 0.955 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.023e-05/0.6117, allocations: 184.3 kB / 0.9551 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.6118, allocations: 323.5 kB / 0.9555 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.612, allocations: 217.6 kB / 0.9557 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.941e-05/0.6121, allocations: 184.5 kB / 0.9558 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.6122, allocations: 105 kB / 0.9559 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.6122, allocations: 188.2 kB / 0.9561 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.6123, allocations: 101 kB / 0.9562 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002557/0.6125, allocations: 271.2 kB / 0.9565 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6126, allocations: 3.938 kB / 0.9565 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002549/0.6128, allocations: 28 kB / 0.9565 GB, free: 0.6836 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.00011/0.6129, allocations: 174.5 kB / 0.9567 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.206e-05/0.613, allocations: 15.92 kB / 0.9567 GB, free: 500 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.613, allocations: 0 / 0.9567 GB, free: 500 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.178e-06/0.613, allocations: 8 kB / 0.9567 GB, free: 492 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3169/0.9299, allocations: 0.5538 MB / 0.9572 GB, free: 194 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008029/0.9308, allocations: 459.2 kB / 0.9577 GB, free: 193.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.931, allocations: 0.7518 MB / 0.9584 GB, free: 193 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.9311, allocations: 19.84 kB / 0.9584 GB, free: 193 MB / 0.7169 GB Notification: Performance of SimCode: time 1.262e-06/0.9311, allocations: 0 / 0.9584 GB, free: 193 MB / 0.7169 GB Notification: Performance of Templates: time 0.007048/0.9381, allocations: 3.145 MB / 0.9615 GB, free: 192.8 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)