Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001277, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 189.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 74.39 kB / 0.6718 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2309, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.6135/0.8445, allocations: 170.3 MB / 0.95 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007151/0.8517, allocations: 6 MB / 0.9558 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004709/0.8522, allocations: 10.84 kB / 0.9558 GB, free: 1.062 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98: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/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98: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/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98: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/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98: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). Notification: Performance of NFTyping.typeComponents: time 0.0007018/0.8529, allocations: 186.2 kB / 0.956 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.8533, allocations: 95.28 kB / 0.9561 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.8549, allocations: 0.5162 MB / 0.9566 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005524/0.8554, allocations: 418.1 kB / 0.957 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002796/0.8557, allocations: 135.1 kB / 0.9571 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003667/0.8561, allocations: 190.7 kB / 0.9573 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.8563, allocations: 148.8 kB / 0.9575 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.8564, allocations: 22.28 kB / 0.9575 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008504/0.8572, allocations: 456.2 kB / 0.9579 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.195e-05/0.8573, allocations: 72.66 kB / 0.958 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.8575, allocations: 104.4 kB / 0.9581 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006116/0.8581, allocations: 453 kB / 0.9585 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8581, allocations: 5.25 kB / 0.9585 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8581, allocations: 0 / 0.9585 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.8581, allocations: 0 / 0.9585 GB, free: 0.6602 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.000593/0.8587, allocations: 0.5188 MB / 0.959 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.8588, allocations: 9.125 kB / 0.959 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.145e-05/0.8588, allocations: 62.17 kB / 0.9591 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.8591, allocations: 41.62 kB / 0.9591 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.8594, allocations: 263.1 kB / 0.9594 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.8596, allocations: 136.3 kB / 0.9595 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.8596, allocations: 21.34 kB / 0.9595 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.8601, allocations: 298.2 kB / 0.9598 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.8601, allocations: 1.375 kB / 0.9598 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.8602, allocations: 9.125 kB / 0.9598 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.8602, allocations: 6.938 kB / 0.9598 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.8605, allocations: 161 kB / 0.96 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.8618, allocations: 1.578 MB / 0.9615 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.726e-05/0.8619, allocations: 179.5 kB / 0.9617 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.862, allocations: 80.14 kB / 0.9618 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.862, allocations: 75.28 kB / 0.9619 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.862, allocations: 112.7 kB / 0.962 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.862, allocations: 0 / 0.962 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.794e-05/0.8621, allocations: 50.17 kB / 0.962 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.8622, allocations: 131.7 kB / 0.9621 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.8625, allocations: 311.8 kB / 0.9624 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.8626, allocations: 26.91 kB / 0.9625 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.8627, allocations: 185.8 kB / 0.9626 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.65e-06/0.8627, allocations: 7.156 kB / 0.9626 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.15e-05/0.8628, allocations: 40.19 kB / 0.9627 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8629, allocations: 337.1 kB / 0.963 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.448e-05/0.863, allocations: 37.44 kB / 0.963 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.8632, allocations: 157.5 kB / 0.9632 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.8634, allocations: 198.9 kB / 0.9634 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.8634, allocations: 1.531 kB / 0.9634 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004006/0.8638, allocations: 217 kB / 0.9636 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.8639, allocations: 12.66 kB / 0.9636 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.8639, allocations: 4.531 kB / 0.9636 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.8639, allocations: 9.906 kB / 0.9636 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.8641, allocations: 43.8 kB / 0.9637 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.8641, allocations: 9.531 kB / 0.9637 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.8643, allocations: 28.81 kB / 0.9637 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.8643, allocations: 12.59 kB / 0.9637 GB, free: 12.68 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.8645, allocations: 218.2 kB / 0.9639 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.427e-05/0.8645, allocations: 125.9 kB / 0.964 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.255e-05/0.8646, allocations: 133.1 kB / 0.9642 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.468e-05/0.8647, allocations: 177.5 kB / 0.9643 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.943e-05/0.8648, allocations: 186.2 kB / 0.9645 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.147e-05/0.8648, allocations: 177.1 kB / 0.9647 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.8652, allocations: 480.6 kB / 0.9651 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.321e-05/0.8652, allocations: 107.9 kB / 0.9652 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.8652, allocations: 105 kB / 0.9653 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-05/0.8653, allocations: 185.8 kB / 0.9655 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.604e-05/0.8654, allocations: 180 kB / 0.9657 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-05/0.8654, allocations: 177.5 kB / 0.9659 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.53e-05/0.8655, allocations: 184.9 kB / 0.966 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.8657, allocations: 328.3 kB / 0.9663 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.8658, allocations: 205.5 kB / 0.9665 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.886e-05/0.8659, allocations: 182.5 kB / 0.9667 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.866, allocations: 108.1 kB / 0.9668 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.8661, allocations: 185.5 kB / 0.967 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.8661, allocations: 106.4 kB / 0.9671 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002282/0.8664, allocations: 222.9 kB / 0.9673 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8664, allocations: 0 / 0.9673 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003669/0.8668, allocations: 56.25 kB / 0.9674 GB, free: 9.094 MB / 0.7325 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.0005341/0.8673, allocations: 0.8556 MB / 0.9682 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.8675, allocations: 82.77 kB / 0.9683 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8675, allocations: 1.094 kB / 0.9683 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.8675, allocations: 1.188 kB / 0.9683 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.868, allocations: 491.1 kB / 0.9687 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.8705, allocations: 2.503 MB / 0.9712 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.8709, allocations: 0.7368 MB / 0.9719 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00013/0.871, allocations: 37.17 kB / 0.9719 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.419e-05/0.8711, allocations: 57.39 kB / 0.972 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of SimCode: time 9.02e-07/0.8711, allocations: 0 / 0.972 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.8923, allocations: 3.994 MB / 0.9759 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/8.431, allocations: 5.172 kB / 0.9759 GB, free: 4.77 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)