Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001504/0.001504, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001038/0.001038, allocations: 189.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002174/0.002174, allocations: 291.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9522/0.9522, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001757, allocations: 99.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5044/0.5062, allocations: 86.97 MB / 0.767 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.9016/1.408, allocations: 304.8 MB / 1.065 GB, free: 244 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03439/1.442, allocations: 27.45 MB / 1.092 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0037/1.446, allocations: 83.16 kB / 1.092 GB, free: 8.973 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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.006471/1.452, allocations: 2.233 MB / 1.094 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.009264/1.462, allocations: 3.058 MB / 1.097 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007498/1.469, allocations: 2.742 MB / 1.099 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01175/1.481, allocations: 7.271 MB / 1.107 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003429/1.484, allocations: 1.814 MB / 1.108 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00547/1.49, allocations: 2.289 MB / 1.111 GB, free: 9.07 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/1.493, allocations: 1.343 MB / 1.112 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0009783/1.494, allocations: 216 kB / 1.112 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009184/1.503, allocations: 3.208 MB / 1.115 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001558/1.505, allocations: 0.7712 MB / 1.116 GB, free: 3.531 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003625/1.509, allocations: 1.256 MB / 1.117 GB, free: 2.27 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01362/1.522, allocations: 4.928 MB / 1.122 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.522, allocations: 0 / 1.122 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.884e-06/1.522, allocations: 0 / 1.122 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001471/1.522, allocations: 0 / 1.122 GB, free: 13.33 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.01305/1.535, allocations: 2.731 MB / 1.125 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 9.27e-05/1.536, allocations: 12.03 kB / 1.125 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005301/1.541, allocations: 0.7191 MB / 1.125 GB, free: 9.789 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/1.552, allocations: 5.645 MB / 1.131 GB, free: 4.09 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/1.552, allocations: 90.19 kB / 1.131 GB, free: 4 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003407/1.553, allocations: 108 kB / 1.131 GB, free: 3.895 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003217/1.556, allocations: 1.395 MB / 1.132 GB, free: 2.359 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/1.556, allocations: 7.938 kB / 1.132 GB, free: 2.352 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/1.556, allocations: 51.94 kB / 1.133 GB, free: 2.301 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-05/1.556, allocations: 46 kB / 1.133 GB, free: 2.254 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/1.558, allocations: 0.9755 MB / 1.134 GB, free: 1.281 MB / 0.7637 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.01009/1.569, allocations: 7.66 MB / 1.141 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009278/1.57, allocations: 375.8 kB / 1.141 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/1.57, allocations: 120.8 kB / 1.141 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000289/1.57, allocations: 178.2 kB / 1.142 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/1.57, allocations: 42.56 kB / 1.142 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 2.255e-06/1.57, allocations: 0 / 1.142 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001831/1.572, allocations: 0.5218 MB / 1.142 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/1.572, allocations: 63.28 kB / 1.142 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004308/1.576, allocations: 2.276 MB / 1.144 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.51e-05/1.577, allocations: 33.7 kB / 1.144 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009517/1.577, allocations: 0.9746 MB / 1.145 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.288e-05/1.578, allocations: 79.08 kB / 1.146 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004347/1.578, allocations: 282.2 kB / 1.146 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.578, allocations: 361.9 kB / 1.146 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000959/1.579, allocations: 448.9 kB / 1.147 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/1.58, allocations: 0.8997 MB / 1.147 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/1.582, allocations: 1.21 MB / 1.149 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.645e-05/1.582, allocations: 4 kB / 1.149 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.0031/1.585, allocations: 1.505 MB / 1.15 GB, free: 15.32 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/1.585, allocations: 12 kB / 1.15 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/1.585, allocations: 12 kB / 1.15 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.78e-05/1.586, allocations: 20.81 kB / 1.15 GB, free: 15.28 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/1.586, allocations: 247.6 kB / 1.15 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-05/1.586, allocations: 31.86 kB / 1.15 GB, free: 15.01 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/1.588, allocations: 210.1 kB / 1.151 GB, free: 14.8 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/1.588, allocations: 56 kB / 1.151 GB, free: 14.75 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001801/1.59, allocations: 0.9395 MB / 1.152 GB, free: 13.8 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001161/1.591, allocations: 0.8841 MB / 1.152 GB, free: 12.71 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001676/1.593, allocations: 1.197 MB / 1.154 GB, free: 11.32 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.361e-05/1.593, allocations: 4 kB / 1.154 GB, free: 11.32 MB / 0.795 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002965/1.596, allocations: 1.489 MB / 1.155 GB, free: 9.82 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/1.596, allocations: 8 kB / 1.155 GB, free: 9.812 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/1.596, allocations: 16 kB / 1.155 GB, free: 9.797 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/1.596, allocations: 20 kB / 1.155 GB, free: 9.777 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008497/1.597, allocations: 244.3 kB / 1.155 GB, free: 9.539 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.143e-05/1.597, allocations: 31.86 kB / 1.155 GB, free: 9.508 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/1.599, allocations: 131.3 kB / 1.155 GB, free: 9.379 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.35e-05/1.599, allocations: 55.98 kB / 1.156 GB, free: 9.324 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (122): * Single equations (assignments): 120 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0003182/1.599, allocations: 247.8 kB / 1.156 GB, free: 9.074 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004496/1.599, allocations: 201.4 kB / 1.156 GB, free: 8.875 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006132/1.6, allocations: 168 kB / 1.156 GB, free: 8.703 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.6, allocations: 0 / 1.156 GB, free: 8.703 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.6, allocations: 0 / 1.156 GB, free: 8.703 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007485/1.601, allocations: 318.5 kB / 1.156 GB, free: 8.371 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004117/1.601, allocations: 7.938 kB / 1.156 GB, free: 8.363 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/1.602, allocations: 47.95 kB / 1.156 GB, free: 8.316 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/1.602, allocations: 7.984 kB / 1.157 GB, free: 8.309 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000973/1.603, allocations: 344.7 kB / 1.157 GB, free: 7.965 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001043/1.604, allocations: 0.6012 MB / 1.157 GB, free: 7.344 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003069/1.605, allocations: 107.6 kB / 1.158 GB, free: 7.242 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002886/1.608, allocations: 1.551 MB / 1.159 GB, free: 5.68 MB / 0.795 GB Notification: Performance of Backend: time 3.21e-07/1.608, allocations: 7.938 kB / 1.159 GB, free: 5.672 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005628/1.613, allocations: 2.12 MB / 1.161 GB, free: 3.559 MB / 0.795 GB Notification: Performance of SimCode: time 0.008472/1.622, allocations: 4.38 MB / 1.165 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of Templates: time 0.1043/1.726, allocations: 45.36 MB / 1.21 GB, free: 2.242 MB / 0.8419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)