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.001126/0.001127, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001157/0.001157, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002176/0.002176, allocations: 290.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9515/0.9515, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 96.09 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5332/0.535, 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.818/1.353, allocations: 304.8 MB / 1.065 GB, free: 220 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03705/1.39, allocations: 27.46 MB / 1.092 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004639/1.395, allocations: 81.56 kB / 1.092 GB, free: 8.969 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.007428/1.402, allocations: 2.268 MB / 1.094 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01008/1.412, allocations: 3.177 MB / 1.097 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.008529/1.421, allocations: 2.779 MB / 1.1 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01307/1.434, allocations: 7.267 MB / 1.107 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003945/1.438, allocations: 1.822 MB / 1.109 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006299/1.444, allocations: 2.316 MB / 1.111 GB, free: 8.836 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003547/1.448, allocations: 1.348 MB / 1.112 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007757/1.449, allocations: 212 kB / 1.112 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008369/1.457, allocations: 3.227 MB / 1.115 GB, free: 4.047 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001613/1.459, allocations: 0.7635 MB / 1.116 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003388/1.462, allocations: 1.264 MB / 1.117 GB, free: 2.012 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01139/1.474, allocations: 4.92 MB / 1.122 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.474, allocations: 0 / 1.122 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.854e-06/1.474, allocations: 0 / 1.122 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001337/1.474, allocations: 0 / 1.122 GB, free: 13.08 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.007762/1.481, allocations: 2.731 MB / 1.125 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/1.482, allocations: 16.02 kB / 1.125 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004836/1.486, allocations: 0.7152 MB / 1.126 GB, free: 9.539 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/1.498, allocations: 5.649 MB / 1.131 GB, free: 3.836 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/1.498, allocations: 90.17 kB / 1.131 GB, free: 3.746 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003873/1.499, allocations: 112 kB / 1.131 GB, free: 3.637 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003606/1.502, allocations: 1.398 MB / 1.133 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/1.502, allocations: 3.938 kB / 1.133 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/1.503, allocations: 55.94 kB / 1.133 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-05/1.503, allocations: 38 kB / 1.133 GB, free: 2 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/1.505, allocations: 0.9794 MB / 1.134 GB, free: 1.023 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.01125/1.516, allocations: 7.667 MB / 1.141 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009374/1.517, allocations: 363.8 kB / 1.142 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/1.518, allocations: 120.8 kB / 1.142 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003022/1.518, allocations: 182.2 kB / 1.142 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/1.518, allocations: 46.48 kB / 1.142 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 2.545e-06/1.518, allocations: 0 / 1.142 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001815/1.52, allocations: 0.5146 MB / 1.142 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/1.52, allocations: 63.39 kB / 1.142 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004248/1.524, allocations: 2.272 MB / 1.145 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.243e-05/1.524, allocations: 33.7 kB / 1.145 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009871/1.525, allocations: 0.9746 MB / 1.146 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.253e-05/1.526, allocations: 79.09 kB / 1.146 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004585/1.526, allocations: 282.2 kB / 1.146 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.526, allocations: 357.9 kB / 1.146 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009746/1.527, allocations: 448.9 kB / 1.147 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/1.528, allocations: 0.9114 MB / 1.148 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/1.53, allocations: 1.21 MB / 1.149 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/1.53, allocations: 4 kB / 1.149 GB, free: 0.5781 MB / 0.7794 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003041/1.533, allocations: 1.497 MB / 1.15 GB, free: 15.08 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/1.533, allocations: 12 kB / 1.15 GB, free: 15.07 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/1.533, allocations: 12 kB / 1.15 GB, free: 15.05 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.694e-05/1.534, allocations: 20.81 kB / 1.15 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009176/1.534, allocations: 255.5 kB / 1.151 GB, free: 14.79 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-05/1.534, allocations: 27.92 kB / 1.151 GB, free: 14.76 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/1.536, allocations: 206.1 kB / 1.151 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/1.536, allocations: 55.98 kB / 1.151 GB, free: 14.5 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001774/1.538, allocations: 0.9317 MB / 1.152 GB, free: 13.56 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001251/1.539, allocations: 0.8918 MB / 1.153 GB, free: 12.47 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001694/1.541, allocations: 1.2 MB / 1.154 GB, free: 11.07 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.266e-05/1.541, allocations: 4 kB / 1.154 GB, free: 11.07 MB / 0.795 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.003056/1.544, allocations: 1.481 MB / 1.155 GB, free: 9.578 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/1.544, allocations: 12 kB / 1.155 GB, free: 9.566 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/1.544, allocations: 15.98 kB / 1.155 GB, free: 9.551 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/1.544, allocations: 20 kB / 1.155 GB, free: 9.531 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008724/1.545, allocations: 248.2 kB / 1.156 GB, free: 9.289 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.445e-05/1.545, allocations: 23.94 kB / 1.156 GB, free: 9.266 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/1.547, allocations: 135.3 kB / 1.156 GB, free: 9.133 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/1.547, allocations: 51.98 kB / 1.156 GB, free: 9.082 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.0003295/1.547, allocations: 255.7 kB / 1.156 GB, free: 8.824 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004731/1.548, allocations: 197.4 kB / 1.156 GB, free: 8.629 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000574/1.548, allocations: 172 kB / 1.156 GB, free: 8.453 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.548, allocations: 0 / 1.156 GB, free: 8.453 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.548, allocations: 0 / 1.156 GB, free: 8.453 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008062/1.549, allocations: 318.4 kB / 1.157 GB, free: 8.121 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005084/1.55, allocations: 11.94 kB / 1.157 GB, free: 8.109 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/1.551, allocations: 47.94 kB / 1.157 GB, free: 8.062 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/1.551, allocations: 15.97 kB / 1.157 GB, free: 8.047 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001004/1.552, allocations: 344 kB / 1.157 GB, free: 7.707 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00105/1.553, allocations: 0.5972 MB / 1.158 GB, free: 7.09 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000313/1.553, allocations: 99.94 kB / 1.158 GB, free: 6.992 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003226/1.556, allocations: 1.555 MB / 1.159 GB, free: 5.426 MB / 0.795 GB Notification: Performance of Backend: time 7.12e-07/1.557, allocations: 0 / 1.159 GB, free: 5.426 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.006285/1.563, allocations: 2.125 MB / 1.161 GB, free: 3.309 MB / 0.795 GB Notification: Performance of SimCode: time 0.009579/1.572, allocations: 4.387 MB / 1.166 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of Templates: time 0.07813/1.651, allocations: 45.36 MB / 1.21 GB, free: 1.98 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)