Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.365/1.365, allocations: 251.5 MB / 266.7 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000808/0.000808, allocations: 172 kB / 325.8 MB, free: 2.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205 MB / 0.576 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006197/0.0006197, allocations: 94.72 kB / 0.6797 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002762/0.0002762, allocations: 8.531 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1566, allocations: 105.4 MB / 0.8962 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5044/0.6611, allocations: 167.8 MB / 1.06 GB, free: 1.895 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004479/0.6656, allocations: 5.993 MB / 1.066 GB, free: 1.859 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.6658, allocations: 11.59 kB / 1.066 GB, free: 1.859 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.0005218/0.6663, allocations: 152.7 kB / 1.066 GB, free: 1.859 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.6665, allocations: 83.95 kB / 1.066 GB, free: 1.859 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008992/0.6674, allocations: 493 kB / 1.067 GB, free: 1.844 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004079/0.6679, allocations: 476.6 kB / 1.067 GB, free: 1.836 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.6681, allocations: 134.4 kB / 1.067 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.6683, allocations: 159.9 kB / 1.067 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.6685, allocations: 136.3 kB / 1.067 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.6685, allocations: 5.906 kB / 1.067 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007421/0.6693, allocations: 0.5152 MB / 1.068 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.6694, allocations: 56.75 kB / 1.068 GB, free: 1.797 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.618e-05/0.6695, allocations: 88.52 kB / 1.068 GB, free: 1.797 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006529/0.6702, allocations: 461.4 kB / 1.069 GB, free: 1.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6702, allocations: 0.7812 kB / 1.069 GB, free: 1.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6702, allocations: 0 / 1.069 GB, free: 1.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.6702, allocations: 0 / 1.069 GB, free: 1.77 MB / 0.698 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.0005572/0.6707, allocations: 485 kB / 1.069 GB, free: 17.35 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.822e-05/0.6708, allocations: 10.75 kB / 1.069 GB, free: 17.35 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.46e-05/0.6709, allocations: 63.08 kB / 1.069 GB, free: 17.31 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/0.6712, allocations: 46.14 kB / 1.069 GB, free: 17.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.6714, allocations: 257.7 kB / 1.069 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.6716, allocations: 135.8 kB / 1.07 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.6716, allocations: 25.73 kB / 1.07 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/0.6721, allocations: 288.7 kB / 1.07 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.6721, allocations: 3.906 kB / 1.07 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.6721, allocations: 10.88 kB / 1.07 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.6721, allocations: 6.281 kB / 1.07 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.6724, allocations: 161.1 kB / 1.07 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.6737, allocations: 1.582 MB / 1.072 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.242e-05/0.6738, allocations: 169.7 kB / 1.072 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/0.6738, allocations: 80.14 kB / 1.072 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.6739, allocations: 80 kB / 1.072 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.6739, allocations: 107.3 kB / 1.072 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.6739, allocations: 1.062 kB / 1.072 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 8.215e-05/0.674, allocations: 46.02 kB / 1.072 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.6741, allocations: 131.4 kB / 1.072 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/0.6744, allocations: 311 kB / 1.072 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.6745, allocations: 30.52 kB / 1.072 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.6746, allocations: 199.1 kB / 1.073 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.841e-06/0.6746, allocations: 2.781 kB / 1.073 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.6746, allocations: 23.73 kB / 1.073 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6748, allocations: 333.5 kB / 1.073 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.643e-05/0.6749, allocations: 34.98 kB / 1.073 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.675, allocations: 165.5 kB / 1.073 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.6752, allocations: 200 kB / 1.073 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6753, allocations: 0.75 kB / 1.073 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004116/0.6757, allocations: 216.7 kB / 1.074 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.6757, allocations: 7.031 kB / 1.074 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.6757, allocations: 6.188 kB / 1.074 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.6757, allocations: 5.688 kB / 1.074 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.6759, allocations: 37.89 kB / 1.074 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.6759, allocations: 9.047 kB / 1.074 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.6761, allocations: 32.56 kB / 1.074 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.6761, allocations: 14.5 kB / 1.074 GB, free: 13.89 MB / 0.7136 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.0001283/0.6762, allocations: 223.2 kB / 1.074 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.6763, allocations: 125.6 kB / 1.074 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.396e-05/0.6764, allocations: 120.6 kB / 1.074 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.066e-05/0.6764, allocations: 184.6 kB / 1.074 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-05/0.6765, allocations: 178.4 kB / 1.074 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.131e-05/0.6765, allocations: 184.6 kB / 1.075 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.6768, allocations: 483.5 kB / 1.075 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.379e-05/0.6769, allocations: 104.8 kB / 1.075 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.6769, allocations: 108.3 kB / 1.075 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-05/0.677, allocations: 177.7 kB / 1.075 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.111e-05/0.677, allocations: 185.4 kB / 1.076 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-05/0.6771, allocations: 183.5 kB / 1.076 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.765e-05/0.6771, allocations: 181.4 kB / 1.076 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.6772, allocations: 324.9 kB / 1.076 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.727e-05/0.6773, allocations: 201.1 kB / 1.076 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.981e-05/0.6774, allocations: 186 kB / 1.077 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.6775, allocations: 105.3 kB / 1.077 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.6776, allocations: 181.4 kB / 1.077 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.6776, allocations: 108.8 kB / 1.077 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002631/0.6779, allocations: 223.4 kB / 1.077 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6779, allocations: 0 / 1.077 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003378/0.6783, allocations: 59.83 kB / 1.077 GB, free: 10.35 MB / 0.7136 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.000484/0.6788, allocations: 0.8575 MB / 1.078 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.679, allocations: 83.59 kB / 1.078 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.679, allocations: 0 / 1.078 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.424e-06/0.679, allocations: 4.125 kB / 1.078 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.6794, allocations: 0.5472 MB / 1.079 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.6819, allocations: 2.57 MB / 1.081 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.6822, allocations: 0.7387 MB / 1.082 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001485/0.6824, allocations: 30.83 kB / 1.082 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.502e-05/0.6825, allocations: 61.88 kB / 1.082 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.6825, allocations: 0 / 1.082 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05252/0.735, allocations: 3.735 MB / 1.086 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.7352, allocations: 213.4 kB / 1.086 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/2.298, allocations: 0 / 1.086 GB, free: 5.887 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)