Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.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.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 116.1 kB / 16.38 MB, free: 6.016 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.001732/0.001731, allocations: 189.1 kB / 17.31 MB, free: 5.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.428/1.428, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.804/1.804, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001457/0.001458, allocations: 71.91 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2507, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.805/1.056, allocations: 312.4 MB / 1.09 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.04318/1.099, allocations: 30.14 MB / 1.119 GB, free: 2.996 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004155/1.103, allocations: 79.56 kB / 1.119 GB, free: 2.918 MB / 0.9044 GB [/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/Outlet.mo:39:3-41: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/Outlet.mo:45:3-46: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/Outlet.mo:47:3-48: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/Outlet.mo:39:3-41: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/Outlet.mo:45:3-46: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/Outlet.mo:47:3-48: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/Source_T.mo:50:3-51: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/Sink_T.mo:49:3-51: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). Notification: Performance of NFTyping.typeComponents: time 0.005507/1.109, allocations: 1.59 MB / 1.121 GB, free: 1.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009009/1.118, allocations: 2.99 MB / 1.124 GB, free: 14.32 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.007131/1.125, allocations: 2.62 MB / 1.126 GB, free: 11.71 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008652/1.134, allocations: 4.604 MB / 1.131 GB, free: 7.094 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003567/1.137, allocations: 2.036 MB / 1.133 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006177/1.143, allocations: 2.387 MB / 1.135 GB, free: 2.645 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003753/1.147, allocations: 1.458 MB / 1.137 GB, free: 1.191 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005849/1.148, allocations: 240 kB / 1.137 GB, free: 0.957 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6113/1.759, allocations: 3.42 MB / 1.14 GB, free: 34.2 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.002388/1.762, allocations: 0.6792 MB / 1.141 GB, free: 34.2 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0041/1.766, allocations: 1.19 MB / 1.142 GB, free: 34.2 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01266/1.778, allocations: 4.725 MB / 1.147 GB, free: 34.1 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/1.778, allocations: 0.6562 kB / 1.147 GB, free: 34.1 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.236e-06/1.778, allocations: 0.6562 kB / 1.147 GB, free: 34.1 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000134/1.779, allocations: 1.703 kB / 1.147 GB, free: 34.1 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.007247/1.786, allocations: 2.496 MB / 1.149 GB, free: 32.99 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/1.786, allocations: 12.08 kB / 1.149 GB, free: 32.99 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006037/1.792, allocations: 0.8069 MB / 1.15 GB, free: 32.88 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005563/1.798, allocations: 2.047 MB / 1.152 GB, free: 32.42 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/1.798, allocations: 107 kB / 1.152 GB, free: 32.42 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003138/1.798, allocations: 132.1 kB / 1.152 GB, free: 32.42 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004288/1.802, allocations: 1.629 MB / 1.154 GB, free: 32.23 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/1.802, allocations: 3.234 kB / 1.154 GB, free: 32.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/1.803, allocations: 54.16 kB / 1.154 GB, free: 32.23 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.305e-05/1.803, allocations: 48.86 kB / 1.154 GB, free: 32.23 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00418/1.807, allocations: 1.424 MB / 1.155 GB, free: 32.21 MB / 0.92 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.01242/1.819, allocations: 7.449 MB / 1.162 GB, free: 28.67 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002914/1.822, allocations: 0.6868 MB / 1.163 GB, free: 28.64 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008334/1.823, allocations: 286.2 kB / 1.163 GB, free: 28.63 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/1.823, allocations: 190.4 kB / 1.164 GB, free: 28.45 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/1.823, allocations: 41.38 kB / 1.164 GB, free: 28.41 MB / 0.92 GB Notification: Performance of pre-optimization done (n=36): time 2.445e-06/1.823, allocations: 0.75 kB / 1.164 GB, free: 28.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=36): time 0.003765/1.827, allocations: 1.268 MB / 1.165 GB, free: 27.89 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/1.827, allocations: 55.53 kB / 1.165 GB, free: 27.83 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00412/1.831, allocations: 1.843 MB / 1.167 GB, free: 27.61 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001849/1.832, allocations: 37.61 kB / 1.167 GB, free: 27.58 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008042/1.832, allocations: 0.8246 MB / 1.168 GB, free: 27.34 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/1.833, allocations: 129.1 kB / 1.168 GB, free: 27.25 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/1.833, allocations: 150.7 kB / 1.168 GB, free: 27.23 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.5e-05/1.833, allocations: 335.8 kB / 1.168 GB, free: 26.92 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/1.834, allocations: 383 kB / 1.168 GB, free: 26.91 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/1.836, allocations: 0.6194 MB / 1.169 GB, free: 26.62 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/1.838, allocations: 0.8226 MB / 1.17 GB, free: 26.4 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.066e-06/1.838, allocations: 2.719 kB / 1.17 GB, free: 26.4 MB / 0.92 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004166/1.842, allocations: 1.327 MB / 1.171 GB, free: 26.06 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/1.842, allocations: 9.125 kB / 1.171 GB, free: 26.06 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/1.842, allocations: 6.25 kB / 1.171 GB, free: 26.06 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002569/1.842, allocations: 63.62 kB / 1.171 GB, free: 26.05 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/1.843, allocations: 200.8 kB / 1.171 GB, free: 26.05 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/1.845, allocations: 3.133 MB / 1.175 GB, free: 23.08 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/1.848, allocations: 255.5 kB / 1.175 GB, free: 23.01 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/1.848, allocations: 39.77 kB / 1.175 GB, free: 23.01 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002246/1.851, allocations: 0.7225 MB / 1.176 GB, free: 22.93 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001275/1.852, allocations: 0.5826 MB / 1.176 GB, free: 22.64 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001765/1.854, allocations: 0.7618 MB / 1.177 GB, free: 22.41 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.522e-06/1.854, allocations: 4.719 kB / 1.177 GB, free: 22.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003869/1.857, allocations: 1.256 MB / 1.178 GB, free: 22.08 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/1.858, allocations: 8.812 kB / 1.178 GB, free: 22.08 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/1.858, allocations: 6.406 kB / 1.178 GB, free: 22.08 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002022/1.858, allocations: 63.8 kB / 1.178 GB, free: 22.06 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/1.859, allocations: 184 kB / 1.178 GB, free: 22.06 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/1.861, allocations: 3.147 MB / 1.181 GB, free: 19.08 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/1.863, allocations: 184.1 kB / 1.182 GB, free: 19.05 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/1.863, allocations: 30.53 kB / 1.182 GB, free: 19.05 MB / 0.92 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 (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003877/1.864, allocations: 225.8 kB / 1.182 GB, free: 18.86 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003421/1.864, allocations: 171.2 kB / 1.182 GB, free: 18.77 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/1.866, allocations: 0.8867 MB / 1.183 GB, free: 18.49 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/1.866, allocations: 2.594 kB / 1.183 GB, free: 18.49 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.866, allocations: 0 / 1.183 GB, free: 18.49 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008002/1.867, allocations: 322.7 kB / 1.183 GB, free: 18.3 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/1.868, allocations: 5.812 kB / 1.183 GB, free: 18.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.869, allocations: 82 kB / 1.183 GB, free: 18.3 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.344e-05/1.869, allocations: 28.95 kB / 1.183 GB, free: 18.3 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002154/1.871, allocations: 0.6666 MB / 1.184 GB, free: 18.16 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002484/1.873, allocations: 1.085 MB / 1.185 GB, free: 17.83 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006968/1.874, allocations: 228.2 kB / 1.185 GB, free: 17.82 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002998/1.877, allocations: 1.311 MB / 1.186 GB, free: 17.67 MB / 0.92 GB Notification: Performance of Backend: time 6.91e-07/1.877, allocations: 0 / 1.186 GB, free: 17.67 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007306/1.884, allocations: 2.125 MB / 1.189 GB, free: 17.01 MB / 0.92 GB Notification: Performance of SimCode: time 0.008837/1.893, allocations: 3.958 MB / 1.192 GB, free: 15.42 MB / 0.92 GB Notification: Performance of Templates: time 0.08037/1.974, allocations: 45.91 MB / 1.237 GB, free: 304 kB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)