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.001947/0.001947, allocations: 105.4 kB / 15.7 MB, free: 24 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.001972/0.001972, allocations: 190 kB / 16.64 MB, free: 6.594 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.422/1.422, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.702/1.702, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001494/0.001494, allocations: 76.12 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2319, 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.6428/0.8747, allocations: 170.3 MB / 0.95 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008719/0.8835, allocations: 5.999 MB / 0.9558 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000654/0.8842, allocations: 11.09 kB / 0.9559 GB, free: 1.098 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.0008572/0.8852, allocations: 189.2 kB / 0.956 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004818/0.8856, allocations: 90.53 kB / 0.9561 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.8873, allocations: 0.5127 MB / 0.9566 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005562/0.8879, allocations: 421.4 kB / 0.957 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002781/0.8882, allocations: 144.2 kB / 0.9572 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003445/0.8885, allocations: 185.9 kB / 0.9573 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.8888, allocations: 152.2 kB / 0.9575 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.8888, allocations: 17.09 kB / 0.9575 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009121/0.8897, allocations: 463.7 kB / 0.9579 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.8899, allocations: 66.5 kB / 0.958 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.89, allocations: 108.1 kB / 0.9581 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008361/0.8909, allocations: 450.4 kB / 0.9585 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.8909, allocations: 0 / 0.9585 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8909, allocations: 0 / 0.9585 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.8909, allocations: 1.094 kB / 0.9585 GB, free: 0.6992 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.0007807/0.8917, allocations: 0.5148 MB / 0.959 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.8918, allocations: 12.38 kB / 0.9591 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.204e-05/0.8919, allocations: 70.3 kB / 0.9591 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002961/0.8922, allocations: 44.19 kB / 0.9592 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.8926, allocations: 260.6 kB / 0.9594 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/0.8928, allocations: 129.4 kB / 0.9595 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/0.8928, allocations: 25.44 kB / 0.9596 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/0.8934, allocations: 291.9 kB / 0.9598 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.8934, allocations: 9.156 kB / 0.9598 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.8934, allocations: 9.5 kB / 0.9599 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.8934, allocations: 7.781 kB / 0.9599 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.8938, allocations: 158.2 kB / 0.96 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.8953, allocations: 1.58 MB / 0.9616 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.8955, allocations: 170.2 kB / 0.9617 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.833e-05/0.8955, allocations: 84.08 kB / 0.9618 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.8955, allocations: 75.28 kB / 0.9619 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.692e-05/0.8956, allocations: 110.3 kB / 0.962 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.315e-06/0.8956, allocations: 1.125 kB / 0.962 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.000105/0.8957, allocations: 50.86 kB / 0.962 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.8958, allocations: 130.3 kB / 0.9621 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003945/0.8962, allocations: 311.1 kB / 0.9624 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.8962, allocations: 25.7 kB / 0.9625 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.8964, allocations: 188.4 kB / 0.9626 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-06/0.8964, allocations: 4.688 kB / 0.9627 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.058e-05/0.8965, allocations: 43.59 kB / 0.9627 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.8966, allocations: 333.2 kB / 0.963 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.633e-05/0.8967, allocations: 41.05 kB / 0.9631 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.8969, allocations: 161.2 kB / 0.9632 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.8972, allocations: 193 kB / 0.9634 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.8972, allocations: 2.094 kB / 0.9634 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004497/0.8976, allocations: 223.3 kB / 0.9636 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.8977, allocations: 15.84 kB / 0.9636 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.8977, allocations: 4 kB / 0.9636 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.8977, allocations: 9.938 kB / 0.9636 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.8979, allocations: 38.91 kB / 0.9637 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.8979, allocations: 12.31 kB / 0.9637 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.8981, allocations: 29.56 kB / 0.9637 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.8981, allocations: 9.188 kB / 0.9637 GB, free: 12.72 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.000174/0.8983, allocations: 220 kB / 0.9639 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.456e-05/0.8984, allocations: 128.9 kB / 0.9641 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.802e-05/0.8985, allocations: 130.7 kB / 0.9642 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-05/0.8986, allocations: 178.7 kB / 0.9643 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.611e-05/0.8987, allocations: 178 kB / 0.9645 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.126e-05/0.8987, allocations: 184.2 kB / 0.9647 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004091/0.8991, allocations: 482.5 kB / 0.9652 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.35e-05/0.8992, allocations: 105.7 kB / 0.9653 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.133e-05/0.8993, allocations: 106.1 kB / 0.9654 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-05/0.8993, allocations: 183.3 kB / 0.9655 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.291e-05/0.8994, allocations: 180.2 kB / 0.9657 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.984e-05/0.8995, allocations: 180.4 kB / 0.9659 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.964e-05/0.8996, allocations: 182.8 kB / 0.966 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.8998, allocations: 328.4 kB / 0.9664 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.9, allocations: 210.8 kB / 0.9666 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.9001, allocations: 181.2 kB / 0.9667 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.9002, allocations: 110.1 kB / 0.9668 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.363e-05/0.9003, allocations: 177.2 kB / 0.967 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.9004, allocations: 108.1 kB / 0.9671 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000299/0.9007, allocations: 218.4 kB / 0.9673 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.074e-06/0.9007, allocations: 0 / 0.9673 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004858/0.9012, allocations: 61.75 kB / 0.9674 GB, free: 9.129 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.0006656/0.9018, allocations: 0.852 MB / 0.9682 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.9021, allocations: 83.56 kB / 0.9683 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9021, allocations: 0 / 0.9683 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.9021, allocations: 0 / 0.9683 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005743/0.9027, allocations: 491.6 kB / 0.9688 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.9057, allocations: 2.503 MB / 0.9712 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.9061, allocations: 0.7404 MB / 0.9719 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001548/0.9062, allocations: 35.83 kB / 0.972 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.702e-05/0.9063, allocations: 54.91 kB / 0.972 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/0.9063, allocations: 0 / 0.972 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.9323, allocations: 3.994 MB / 0.9759 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.912, allocations: 8.234 kB / 0.9759 GB, free: 4.805 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)