Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8292/0.8292, allocations: 128.8 MB / 143.8 MB, free: 2.312 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 177.8 kB / 173.8 MB, free: 6.102 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.4 MB / 409.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008248/0.0008248, allocations: 88.83 kB / 486.7 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003607, allocations: 11.22 kB / 0.5604 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1817, allocations: 76.77 MB / 0.6354 GB, free: 30.51 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5948/0.7767, allocations: 160.9 MB / 0.7926 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.007401/0.7841, allocations: 6.15 MB / 0.7986 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005704/0.7848, allocations: 18.59 kB / 0.7986 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005507/0.7853, allocations: 113.3 kB / 0.7987 GB, free: 14 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Sources/BaseClasses/PartialSource.mo:19:17-20:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Sources/BaseClasses/PartialSource.mo:17:17-18:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Sources/BaseClasses/PartialSource.mo:19:17-20:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Sources/BaseClasses/PartialSource.mo:17:17-18:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002057/0.7874, allocations: 0.5891 MB / 0.7993 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008998/0.7883, allocations: 239.7 kB / 0.7995 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001295/0.7896, allocations: 0.9532 MB / 0.8004 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004397/0.7901, allocations: 226 kB / 0.8007 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.7913, allocations: 479.8 kB / 0.8011 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004591/0.7918, allocations: 281 kB / 0.8014 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.545e-05/0.7919, allocations: 15.03 kB / 0.8014 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006075/0.7925, allocations: 207.5 kB / 0.8016 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.7926, allocations: 101.1 kB / 0.8017 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.827e-05/0.7927, allocations: 80.23 kB / 0.8018 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005165/0.7932, allocations: 334.8 kB / 0.8021 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7933, allocations: 0 / 0.8021 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7933, allocations: 0 / 0.8021 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.7933, allocations: 0 / 0.8021 GB, free: 13.31 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001024/0.7943, allocations: 0.5723 MB / 0.8026 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.7944, allocations: 8.906 kB / 0.8026 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/0.7947, allocations: 61.12 kB / 0.8027 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004684/0.7952, allocations: 314.6 kB / 0.803 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.7952, allocations: 22.12 kB / 0.803 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.7953, allocations: 27.31 kB / 0.8031 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/0.7958, allocations: 259.6 kB / 0.8033 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.7959, allocations: 1.219 kB / 0.8033 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.7959, allocations: 10.06 kB / 0.8033 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.7959, allocations: 5.875 kB / 0.8033 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004951/0.7964, allocations: 237 kB / 0.8035 GB, free: 12.39 MB / 0.5261 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.001544/0.798, allocations: 0.9905 MB / 0.8045 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/0.7985, allocations: 215.8 kB / 0.8047 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.7988, allocations: 115.4 kB / 0.8048 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000668/0.7994, allocations: 320 kB / 0.8051 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.7995, allocations: 34.88 kB / 0.8052 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.7995, allocations: 0 / 0.8052 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0009156/0.8004, allocations: 350.3 kB / 0.8055 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.8005, allocations: 53.53 kB / 0.8056 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.8008, allocations: 294.1 kB / 0.8058 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.8009, allocations: 29.98 kB / 0.8059 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.801, allocations: 169.7 kB / 0.806 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.123e-05/0.8011, allocations: 66.25 kB / 0.8061 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.8011, allocations: 5.094 kB / 0.8061 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.8012, allocations: 345 kB / 0.8064 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.8014, allocations: 76.2 kB / 0.8065 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.8016, allocations: 90.97 kB / 0.8066 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.8019, allocations: 93.38 kB / 0.8067 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.8019, allocations: 0 / 0.8067 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004815/0.8024, allocations: 246.9 kB / 0.8069 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.8024, allocations: 19.22 kB / 0.8069 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.8024, allocations: 5.406 kB / 0.8069 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.8024, allocations: 0 / 0.8069 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.8026, allocations: 39.27 kB / 0.807 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.8026, allocations: 5.078 kB / 0.807 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.8028, allocations: 30.14 kB / 0.807 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.8029, allocations: 11.28 kB / 0.807 GB, free: 10.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.8031, allocations: 153.3 kB / 0.8072 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.8031, allocations: 32.98 kB / 0.8072 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005855/0.8037, allocations: 271.4 kB / 0.8074 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.8037, allocations: 2.312 kB / 0.8074 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.8037, allocations: 0 / 0.8074 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.8037, allocations: 5.109 kB / 0.8075 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.805, allocations: 0.7494 MB / 0.8082 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.805, allocations: 3.781 kB / 0.8082 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.8052, allocations: 39.7 kB / 0.8082 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.8052, allocations: 11.05 kB / 0.8082 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.8053, allocations: 6.594 kB / 0.8082 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.8053, allocations: 2.719 kB / 0.8082 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8053, allocations: 1.438 kB / 0.8082 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008508/0.8061, allocations: 0.4963 MB / 0.8087 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.8062, allocations: 112.8 kB / 0.8088 GB, free: 9.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.8063, allocations: 10.2 kB / 0.8088 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.8066, allocations: 19.58 kB / 0.8089 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.8066, allocations: 11.64 kB / 0.8089 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.8067, allocations: 8.812 kB / 0.8089 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002459/0.8069, allocations: 218.2 kB / 0.8091 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8069, allocations: 0 / 0.8091 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004219/0.8074, allocations: 77.7 kB / 0.8092 GB, free: 9.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (senH_flow.h_out,senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004402/0.8078, allocations: 159.7 kB / 0.8093 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004987/0.8083, allocations: 191.1 kB / 0.8095 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8083, allocations: 3.969 kB / 0.8095 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.8086, allocations: 114.5 kB / 0.8096 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009528/0.8096, allocations: 158.2 kB / 0.8098 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.8111, allocations: 0.7896 MB / 0.8105 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/0.8117, allocations: 0.7843 MB / 0.8113 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002496/0.8119, allocations: 59.64 kB / 0.8114 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.786e-05/0.812, allocations: 24.28 kB / 0.8114 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.812, allocations: 0 / 0.8114 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of Templates: time 0.009828/0.8218, allocations: 4.909 MB / 0.8162 GB, free: 5.102 MB / 0.5261 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)