Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 106.7 kB / 16.37 MB, free: 6.305 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.001392/0.001392, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.515/1.515, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.915/1.915, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001561/0.001561, allocations: 72.47 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2802, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.9451/1.225, allocations: 304.5 MB / 1.082 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03783/1.263, allocations: 28.22 MB / 1.11 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004137/1.267, allocations: 75.56 kB / 1.11 GB, free: 12.69 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). Notification: Performance of NFTyping.typeComponents: time 0.004361/1.272, allocations: 1.423 MB / 1.111 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008568/1.28, allocations: 2.867 MB / 1.114 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007425/1.288, allocations: 2.633 MB / 1.117 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008847/1.297, allocations: 4.329 MB / 1.121 GB, free: 1.426 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002852/1.3, allocations: 1.764 MB / 1.123 GB, free: 15.64 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005585/1.305, allocations: 2.25 MB / 1.125 GB, free: 13.38 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003182/1.308, allocations: 1.272 MB / 1.126 GB, free: 12.12 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006153/1.309, allocations: 204 kB / 1.126 GB, free: 11.92 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006851/1.316, allocations: 3.036 MB / 1.129 GB, free: 8.875 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001019/1.317, allocations: 0.6193 MB / 1.13 GB, free: 8.254 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001927/1.319, allocations: 1.062 MB / 1.131 GB, free: 7.188 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007522/1.326, allocations: 4.219 MB / 1.135 GB, free: 2.957 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.326, allocations: 0 / 1.135 GB, free: 2.957 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.052e-06/1.326, allocations: 0 / 1.135 GB, free: 2.957 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.734e-05/1.327, allocations: 0 / 1.135 GB, free: 2.957 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: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.004282/1.331, allocations: 2.295 MB / 1.137 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.331, allocations: 8.031 kB / 1.137 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003644/1.335, allocations: 0.5909 MB / 1.138 GB, free: 0 / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.414/1.749, allocations: 1.953 MB / 1.14 GB, free: 312.6 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.831e-05/1.749, allocations: 90 kB / 1.14 GB, free: 312.6 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/1.749, allocations: 111.8 kB / 1.14 GB, free: 312.6 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/1.751, allocations: 1.397 MB / 1.141 GB, free: 312.2 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/1.751, allocations: 4.594 kB / 1.141 GB, free: 312.2 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/1.752, allocations: 50.52 kB / 1.141 GB, free: 312.2 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.176e-05/1.752, allocations: 45 kB / 1.141 GB, free: 312.2 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/1.754, allocations: 1.003 MB / 1.142 GB, free: 312.2 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.007371/1.761, allocations: 7.412 MB / 1.149 GB, free: 306.8 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/1.763, allocations: 403.6 kB / 1.15 GB, free: 306.6 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/1.763, allocations: 120.4 kB / 1.15 GB, free: 306.6 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002304/1.763, allocations: 192.8 kB / 1.15 GB, free: 306.4 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/1.763, allocations: 42.8 kB / 1.15 GB, free: 306.3 MB / 0.92 GB Notification: Performance of pre-optimization done (n=19): time 3.046e-06/1.763, allocations: 0 / 1.15 GB, free: 306.3 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.001562/1.765, allocations: 0.493 MB / 1.151 GB, free: 306.1 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/1.765, allocations: 54.06 kB / 1.151 GB, free: 306.1 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/1.768, allocations: 1.747 MB / 1.152 GB, free: 305.4 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.868e-05/1.768, allocations: 32.89 kB / 1.152 GB, free: 305.3 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006354/1.768, allocations: 0.8447 MB / 1.153 GB, free: 304.7 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/1.768, allocations: 78.83 kB / 1.153 GB, free: 304.6 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/1.769, allocations: 178.3 kB / 1.154 GB, free: 304.5 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.864e-05/1.769, allocations: 339.5 kB / 1.154 GB, free: 304.2 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007775/1.77, allocations: 281.4 kB / 1.154 GB, free: 304.1 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009441/1.77, allocations: 0.6959 MB / 1.155 GB, free: 303.5 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/1.772, allocations: 0.8623 MB / 1.156 GB, free: 302.8 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/1.772, allocations: 4.344 kB / 1.156 GB, free: 302.8 MB / 0.92 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002689/1.775, allocations: 1.041 MB / 1.157 GB, free: 302.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/1.775, allocations: 10.91 kB / 1.157 GB, free: 302.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.482e-05/1.775, allocations: 13.03 kB / 1.157 GB, free: 302.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.988e-05/1.775, allocations: 23.03 kB / 1.157 GB, free: 302.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008562/1.776, allocations: 200.7 kB / 1.157 GB, free: 302.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-05/1.776, allocations: 32.39 kB / 1.157 GB, free: 302.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/1.777, allocations: 194.4 kB / 1.157 GB, free: 302.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.364e-05/1.777, allocations: 44.77 kB / 1.157 GB, free: 302.4 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0014/1.779, allocations: 0.6125 MB / 1.158 GB, free: 302.1 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008831/1.78, allocations: 0.665 MB / 1.158 GB, free: 301.4 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001258/1.781, allocations: 0.8113 MB / 1.159 GB, free: 300.8 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.646e-06/1.781, allocations: 4.875 kB / 1.159 GB, free: 300.8 MB / 0.92 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.002264/1.783, allocations: 0.966 MB / 1.16 GB, free: 300.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/1.783, allocations: 15.66 kB / 1.16 GB, free: 300.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/1.783, allocations: 17.44 kB / 1.16 GB, free: 300.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/1.783, allocations: 18.22 kB / 1.16 GB, free: 300.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007749/1.784, allocations: 183.6 kB / 1.16 GB, free: 300.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.643e-05/1.784, allocations: 28.06 kB / 1.16 GB, free: 300.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/1.786, allocations: 136.4 kB / 1.161 GB, free: 300.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.87e-05/1.786, allocations: 45.02 kB / 1.161 GB, free: 300.4 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (88): * Single equations (assignments): 87 * Array equations: 1 * 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.0003423/1.786, allocations: 234.9 kB / 1.161 GB, free: 300.2 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/1.786, allocations: 164.7 kB / 1.161 GB, free: 300.1 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/1.788, allocations: 409.9 kB / 1.161 GB, free: 299.9 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/1.788, allocations: 2.062 kB / 1.161 GB, free: 299.9 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.788, allocations: 3.625 kB / 1.161 GB, free: 299.9 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004911/1.788, allocations: 286 kB / 1.162 GB, free: 299.7 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/1.788, allocations: 2.062 kB / 1.162 GB, free: 299.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007941/1.789, allocations: 52.77 kB / 1.162 GB, free: 299.7 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/1.789, allocations: 13.67 kB / 1.162 GB, free: 299.7 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009292/1.79, allocations: 348.1 kB / 1.162 GB, free: 299.5 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009348/1.791, allocations: 0.5688 MB / 1.163 GB, free: 299.1 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003218/1.791, allocations: 108.7 kB / 1.163 GB, free: 299.1 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00219/1.794, allocations: 1.207 MB / 1.164 GB, free: 298.6 MB / 0.92 GB Notification: Performance of Backend: time 8.41e-07/1.794, allocations: 0 / 1.164 GB, free: 298.6 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004894/1.799, allocations: 1.483 MB / 1.165 GB, free: 298.2 MB / 0.92 GB Notification: Performance of SimCode: time 0.007601/1.806, allocations: 3.548 MB / 1.169 GB, free: 296.5 MB / 0.92 GB Notification: Performance of Templates: time 0.07289/1.879, allocations: 38 MB / 1.206 GB, free: 282.9 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)