Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 112.6 kB / 16.38 MB, free: 5.543 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.001129/0.001129, allocations: 189 kB / 17.31 MB, free: 5.191 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.577/1.577, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.914/1.914, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001612/0.001612, allocations: 72.12 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2563, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.795/1.051, allocations: 249 MB / 1.028 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02979/1.081, allocations: 22.24 MB / 1.05 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/1.084, allocations: 55.69 kB / 1.05 GB, free: 10.64 MB / 0.8419 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Adaptors/Inlet.mo:38:3-40: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/Adaptors/Inlet.mo:43:3-44:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) 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/Adaptors/Inlet.mo:45:3-46:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) 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/Adaptors/Inlet.mo:38:3-40: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/Adaptors/Inlet.mo:43:3-44:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) 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/Adaptors/Inlet.mo:45:3-46:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) 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/Adaptors/Inlet.mo:38:3-40: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/Adaptors/Inlet.mo:43:3-44:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) 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/Adaptors/Inlet.mo:45:3-46:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) 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/Adaptors/Inlet.mo:38:3-40: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/Adaptors/Inlet.mo:43:3-44:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) 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/Adaptors/Inlet.mo:45:3-46:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.003369/1.087, allocations: 0.9753 MB / 1.051 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00496/1.092, allocations: 1.471 MB / 1.052 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005384/1.097, allocations: 1.934 MB / 1.054 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00473/1.102, allocations: 2.696 MB / 1.057 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/1.104, allocations: 1.31 MB / 1.058 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003427/1.108, allocations: 1.35 MB / 1.059 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/1.11, allocations: 0.9105 MB / 1.06 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002014/1.11, allocations: 108 kB / 1.06 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004089/1.114, allocations: 1.68 MB / 1.062 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000495/1.114, allocations: 378.9 kB / 1.062 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001163/1.116, allocations: 0.6299 MB / 1.063 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005039/1.121, allocations: 2.278 MB / 1.065 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/1.121, allocations: 4 kB / 1.065 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.675e-06/1.121, allocations: 0 / 1.065 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.008e-05/1.121, allocations: 4 kB / 1.065 GB, free: 10.9 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002833/1.124, allocations: 1.475 MB / 1.067 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.124, allocations: 8.031 kB / 1.067 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/1.125, allocations: 226.4 kB / 1.067 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/1.127, allocations: 0.9233 MB / 1.068 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/1.127, allocations: 184.8 kB / 1.068 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/1.127, allocations: 99.92 kB / 1.068 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/1.129, allocations: 0.9285 MB / 1.069 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/1.129, allocations: 4 kB / 1.069 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.368e-05/1.129, allocations: 36 kB / 1.069 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.632e-05/1.129, allocations: 20 kB / 1.069 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/1.13, allocations: 0.6324 MB / 1.069 GB, free: 6.219 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005714/1.136, allocations: 4.42 MB / 1.074 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/1.136, allocations: 193.6 kB / 1.074 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/1.137, allocations: 145.3 kB / 1.074 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/1.138, allocations: 1.021 MB / 1.075 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/1.138, allocations: 38.55 kB / 1.075 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=24): time 2.575e-06/1.138, allocations: 0 / 1.075 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24): time 0.001181/1.139, allocations: 474.1 kB / 1.076 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/1.139, allocations: 51.41 kB / 1.076 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/1.141, allocations: 1.11 MB / 1.077 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.4e-05/1.141, allocations: 33.7 kB / 1.077 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/1.141, allocations: 0.504 MB / 1.077 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.875e-05/1.141, allocations: 90.73 kB / 1.077 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/1.141, allocations: 94.03 kB / 1.077 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.142, allocations: 322 kB / 1.078 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/1.142, allocations: 132.8 kB / 1.078 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/1.142, allocations: 391.1 kB / 1.078 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006321/1.143, allocations: 465.4 kB / 1.079 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.143, allocations: 4 kB / 1.079 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001062/1.144, allocations: 0.5355 MB / 1.079 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/1.144, allocations: 8.781 kB / 1.079 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/1.144, allocations: 11.94 kB / 1.079 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/1.144, allocations: 8 kB / 1.079 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/1.145, allocations: 91.83 kB / 1.079 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/1.145, allocations: 11.94 kB / 1.079 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007943/1.145, allocations: 94.94 kB / 1.079 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/1.145, allocations: 27.98 kB / 1.079 GB, free: 11.11 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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.0004618/1.146, allocations: 289.7 kB / 1.08 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/1.146, allocations: 102.7 kB / 1.08 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007729/1.147, allocations: 428.1 kB / 1.08 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/1.147, allocations: 4 kB / 1.08 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.147, allocations: 0 / 1.08 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000332/1.147, allocations: 231.6 kB / 1.08 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/1.147, allocations: 8 kB / 1.08 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/1.148, allocations: 17.3 kB / 1.08 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/1.148, allocations: 7.984 kB / 1.081 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005539/1.148, allocations: 359.3 kB / 1.081 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006116/1.149, allocations: 0.5291 MB / 1.081 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001746/1.149, allocations: 111.9 kB / 1.081 GB, free: 9 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001042/1.15, allocations: 0.7781 MB / 1.082 GB, free: 8.215 MB / 0.8731 GB Notification: Performance of Backend: time 5.51e-07/1.15, allocations: 0 / 1.082 GB, free: 8.215 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002094/1.152, allocations: 0.6937 MB / 1.083 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of SimCode: time 0.004209/1.156, allocations: 2.316 MB / 1.085 GB, free: 5.203 MB / 0.8731 GB Notification: Performance of Templates: time 0.03867/1.195, allocations: 21.18 MB / 1.106 GB, free: 340 kB / 0.8887 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)