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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009445/0.009445, allocations: 102.4 kB / 15.73 MB, free: 6.039 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.001447/0.001447, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.677/1.677, allocations: 205.1 MB / 222.5 MB, free: 4.395 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.599/1.599, allocations: 251.7 MB / 0.5094 GB, free: 3.094 MB / 414.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.001448/0.001448, allocations: 67.89 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2828, allocations: 104.7 MB / 0.828 GB, free: 204 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 1.033/1.316, allocations: 170.4 MB / 0.9944 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008038/1.324, allocations: 6.007 MB / 1 GB, free: 4.156 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004808/1.324, allocations: 6.844 kB / 1 GB, free: 4.156 MB / 0.7481 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.0009262/1.325, allocations: 196.4 kB / 1 GB, free: 3.984 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0004136/1.326, allocations: 93.28 kB / 1.001 GB, free: 3.91 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/1.327, allocations: 0.5319 MB / 1.001 GB, free: 3.508 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0005859/1.328, allocations: 416 kB / 1.001 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003906/1.328, allocations: 137.4 kB / 1.002 GB, free: 3.191 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004084/1.329, allocations: 199.7 kB / 1.002 GB, free: 3.074 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/1.329, allocations: 148.9 kB / 1.002 GB, free: 2.984 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/1.329, allocations: 18.19 kB / 1.002 GB, free: 2.984 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/1.33, allocations: 463.9 kB / 1.002 GB, free: 2.727 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/1.33, allocations: 67.34 kB / 1.002 GB, free: 2.68 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/1.33, allocations: 102.8 kB / 1.003 GB, free: 2.613 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007732/1.331, allocations: 452.8 kB / 1.003 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/1.331, allocations: 0 / 1.003 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.415e-06/1.331, allocations: 0 / 1.003 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.766e-05/1.331, allocations: 2.219 kB / 1.003 GB, free: 2.34 MB / 0.7481 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.0008311/1.332, allocations: 0.516 MB / 1.004 GB, free: 1.848 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/1.332, allocations: 9.438 kB / 1.004 GB, free: 1.848 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/1.332, allocations: 37.42 kB / 1.004 GB, free: 1.836 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/1.333, allocations: 269.6 kB / 1.004 GB, free: 1.566 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/1.333, allocations: 126.8 kB / 1.004 GB, free: 1.434 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/1.333, allocations: 27.06 kB / 1.004 GB, free: 1.422 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/1.334, allocations: 299.8 kB / 1.004 GB, free: 1.184 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/1.334, allocations: 0 / 1.004 GB, free: 1.184 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/1.334, allocations: 10.5 kB / 1.004 GB, free: 1.176 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/1.334, allocations: 7.719 kB / 1.004 GB, free: 1.176 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003399/1.334, allocations: 159.6 kB / 1.004 GB, free: 1.102 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/1.336, allocations: 1.587 MB / 1.006 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.998e-05/1.336, allocations: 167.9 kB / 1.006 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/1.336, allocations: 80.14 kB / 1.006 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/1.336, allocations: 75.28 kB / 1.006 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.957e-05/1.336, allocations: 113.8 kB / 1.006 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 1.153e-06/1.336, allocations: 2.438 kB / 1.006 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 0.0001173/1.336, allocations: 56.61 kB / 1.006 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/1.336, allocations: 126.7 kB / 1.007 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/1.336, allocations: 305.3 kB / 1.007 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/1.336, allocations: 29.69 kB / 1.007 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/1.337, allocations: 190.3 kB / 1.007 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.682e-06/1.337, allocations: 4 kB / 1.007 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.132e-05/1.337, allocations: 49.05 kB / 1.007 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.337, allocations: 331.8 kB / 1.007 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.797e-05/1.337, allocations: 36.12 kB / 1.007 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/1.337, allocations: 169 kB / 1.008 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/1.337, allocations: 197.9 kB / 1.008 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.337, allocations: 4 kB / 1.008 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004925/1.338, allocations: 215 kB / 1.008 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/1.338, allocations: 12.28 kB / 1.008 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/1.338, allocations: 9 kB / 1.008 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/1.338, allocations: 5 kB / 1.008 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/1.338, allocations: 38.17 kB / 1.008 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/1.338, allocations: 11.61 kB / 1.008 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/1.338, allocations: 29.34 kB / 1.008 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/1.339, allocations: 14.69 kB / 1.008 GB, free: 13.55 MB / 0.7637 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.0001839/1.339, allocations: 217.4 kB / 1.008 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.693e-05/1.339, allocations: 126.6 kB / 1.008 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.852e-05/1.339, allocations: 125.6 kB / 1.009 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-05/1.339, allocations: 180.2 kB / 1.009 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001009/1.339, allocations: 186.4 kB / 1.009 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.699e-05/1.339, allocations: 176.3 kB / 1.009 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/1.34, allocations: 490 kB / 1.01 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.986e-05/1.34, allocations: 105 kB / 1.01 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/1.34, allocations: 101 kB / 1.01 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.217e-05/1.34, allocations: 182.6 kB / 1.01 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.808e-05/1.34, allocations: 184.2 kB / 1.01 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.256e-05/1.34, allocations: 187.3 kB / 1.01 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.225e-05/1.34, allocations: 180.3 kB / 1.01 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/1.34, allocations: 323.6 kB / 1.011 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/1.34, allocations: 205.6 kB / 1.011 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/1.34, allocations: 188.1 kB / 1.011 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/1.341, allocations: 103.4 kB / 1.011 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.05e-05/1.341, allocations: 184.2 kB / 1.011 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/1.341, allocations: 104.9 kB / 1.012 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002644/1.341, allocations: 223.2 kB / 1.012 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/1.341, allocations: 0 / 1.012 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.000434/1.341, allocations: 44.31 kB / 1.012 GB, free: 9.805 MB / 0.7637 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.000368/1.342, allocations: 215.5 kB / 1.012 GB, free: 9.621 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0002107/1.342, allocations: 83.67 kB / 1.012 GB, free: 9.582 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.342, allocations: 0 / 1.012 GB, free: 9.582 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 2.906e-06/1.342, allocations: 2.5 kB / 1.012 GB, free: 9.582 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/1.343, allocations: 480.8 kB / 1.013 GB, free: 9.121 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/1.343, allocations: 396 kB / 1.013 GB, free: 8.805 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/1.344, allocations: 0.7364 MB / 1.014 GB, free: 8.082 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001134/1.344, allocations: 32.94 kB / 1.014 GB, free: 8.066 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/1.344, allocations: 21.56 kB / 1.014 GB, free: 8.055 MB / 0.7637 GB Notification: Performance of SimCode: time 2.21e-07/1.344, allocations: 0 / 1.014 GB, free: 8.055 MB / 0.7637 GB Notification: Performance of Templates: time 0.006059/1.35, allocations: 1.852 MB / 1.015 GB, free: 7.133 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)