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.001173/0.001177, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001427/0.001428, allocations: 193.5 kB / 16.25 MB, free: 6.617 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.574/1.574, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.584/1.584, allocations: 251.7 MB / 0.5089 GB, free: 3.301 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.001431/0.001431, allocations: 63.91 kB / 0.6217 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7332/0.7346, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.221/0.9558, allocations: 168.1 MB / 0.8881 GB, free: 4.379 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008894/0.9647, allocations: 5.951 MB / 0.894 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000708/0.9655, allocations: 7.938 kB / 0.894 GB, free: 14.4 MB / 0.7169 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.001167/0.9668, allocations: 159.1 kB / 0.8941 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000747/0.9676, allocations: 79.56 kB / 0.8942 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.9697, allocations: 498.5 kB / 0.8947 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008191/0.9705, allocations: 430.3 kB / 0.8951 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.9709, allocations: 143.6 kB / 0.8952 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005748/0.9715, allocations: 183.4 kB / 0.8954 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.9719, allocations: 159.3 kB / 0.8955 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.912e-05/0.972, allocations: 16 kB / 0.8956 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.9731, allocations: 470.6 kB / 0.896 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.9733, allocations: 67.83 kB / 0.8961 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.9735, allocations: 111.5 kB / 0.8962 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.9747, allocations: 466.6 kB / 0.8966 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.9747, allocations: 0 / 0.8966 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.296e-06/0.9747, allocations: 0 / 0.8966 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.9747, allocations: 0 / 0.8966 GB, free: 11.67 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.001049/0.9758, allocations: 0.5301 MB / 0.8971 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.9758, allocations: 8.031 kB / 0.8971 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004164/0.9763, allocations: 35.8 kB / 0.8972 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.9767, allocations: 258.5 kB / 0.8974 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.9769, allocations: 131.4 kB / 0.8976 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.9769, allocations: 20 kB / 0.8976 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005476/0.9775, allocations: 298.8 kB / 0.8979 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.9775, allocations: 0 / 0.8979 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.9775, allocations: 8 kB / 0.8979 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.9775, allocations: 7.984 kB / 0.8979 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003957/0.9779, allocations: 168.6 kB / 0.898 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.9798, allocations: 1.579 MB / 0.8996 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.9799, allocations: 177.1 kB / 0.8997 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.635e-05/0.9799, allocations: 80.14 kB / 0.8998 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.98, allocations: 75.28 kB / 0.8999 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.042e-05/0.98, allocations: 109.8 kB / 0.9 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.98, allocations: 0 / 0.9 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001633/0.9802, allocations: 49.39 kB / 0.9 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.9803, allocations: 134.7 kB / 0.9002 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/0.9809, allocations: 310.6 kB / 0.9005 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.9809, allocations: 25.7 kB / 0.9005 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.9811, allocations: 195.2 kB / 0.9007 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.842e-06/0.9811, allocations: 0 / 0.9007 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.912e-05/0.9812, allocations: 45.61 kB / 0.9007 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002239/0.9815, allocations: 326.8 kB / 0.901 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.9816, allocations: 39.97 kB / 0.9011 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.9818, allocations: 161.1 kB / 0.9012 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.9821, allocations: 200.9 kB / 0.9014 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.9821, allocations: 4 kB / 0.9014 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004429/0.9825, allocations: 216.9 kB / 0.9016 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.9826, allocations: 7.938 kB / 0.9016 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.9826, allocations: 4 kB / 0.9016 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.9826, allocations: 8 kB / 0.9016 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.9828, allocations: 40.53 kB / 0.9017 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.9828, allocations: 12 kB / 0.9017 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.983, allocations: 35.53 kB / 0.9017 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.9831, allocations: 12 kB / 0.9017 GB, free: 5.98 MB / 0.7169 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.000188/0.9833, allocations: 217 kB / 0.9019 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.9834, allocations: 132.7 kB / 0.9021 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.082e-05/0.9835, allocations: 121.8 kB / 0.9022 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.152e-05/0.9836, allocations: 180.3 kB / 0.9024 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.213e-05/0.9837, allocations: 180.2 kB / 0.9025 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.827e-05/0.9838, allocations: 176.3 kB / 0.9027 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.9842, allocations: 485.1 kB / 0.9032 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.797e-05/0.9843, allocations: 105 kB / 0.9033 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.9843, allocations: 105 kB / 0.9034 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.159e-05/0.9844, allocations: 188.1 kB / 0.9035 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.459e-05/0.9845, allocations: 176.3 kB / 0.9037 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.157e-05/0.9846, allocations: 180.2 kB / 0.9039 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.518e-05/0.9847, allocations: 184.2 kB / 0.9041 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.9849, allocations: 331.7 kB / 0.9044 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.985, allocations: 205.9 kB / 0.9046 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.9851, allocations: 188.2 kB / 0.9048 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.9853, allocations: 109 kB / 0.9049 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.9854, allocations: 180.2 kB / 0.905 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/0.9855, allocations: 105 kB / 0.9051 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000296/0.9858, allocations: 217.9 kB / 0.9053 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9858, allocations: 0 / 0.9053 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004524/0.9862, allocations: 52 kB / 0.9054 GB, free: 2.02 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.0003852/0.9866, allocations: 210.4 kB / 0.9056 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002424/0.9869, allocations: 84.95 kB / 0.9057 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.9869, allocations: 0 / 0.9057 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.218e-06/0.9869, allocations: 0 / 0.9057 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000618/0.9875, allocations: 494.4 kB / 0.9061 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007359/0.9883, allocations: 456.9 kB / 0.9066 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.9886, allocations: 0.7359 MB / 0.9073 GB, free: 4 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.52/1.509, allocations: 31.03 kB / 0.9073 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.581e-05/1.509, allocations: 17.64 kB / 0.9073 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of SimCode: time 9.42e-07/1.509, allocations: 0 / 0.9073 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.008047/1.517, allocations: 1.806 MB / 0.9091 GB, free: 185.7 MB / 0.7169 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)