Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.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.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001345, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001348/0.001348, allocations: 199.5 kB / 16.14 MB, free: 6.637 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.463/1.463, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002576/0.002576, allocations: 278.8 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.083/1.083, allocations: 178.6 MB / 0.5068 GB, free: 4.785 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002871/0.002871, allocations: 99.5 kB / 0.6057 GB, free: 25.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.179, allocations: 89.16 MB / 0.6928 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5356/0.7147, allocations: 165.3 MB / 0.8542 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008116/0.7228, allocations: 6.547 MB / 0.8606 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005012/0.7234, allocations: 11.69 kB / 0.8606 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005819/0.724, allocations: 140.5 kB / 0.8607 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.726, allocations: 0.7839 MB / 0.8615 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008991/0.7269, allocations: 293 kB / 0.8618 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.728, allocations: 1.018 MB / 0.8628 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003771/0.7284, allocations: 238.8 kB / 0.863 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.7294, allocations: 0.5133 MB / 0.8635 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003745/0.7298, allocations: 278.3 kB / 0.8638 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.887e-05/0.7299, allocations: 18.12 kB / 0.8638 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007404/0.7306, allocations: 397.7 kB / 0.8642 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.7307, allocations: 98.98 kB / 0.8643 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.7309, allocations: 159.5 kB / 0.8644 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006257/0.7316, allocations: 467.1 kB / 0.8649 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.7316, allocations: 3.984 kB / 0.8649 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7316, allocations: 3.938 kB / 0.8649 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.7316, allocations: 4 kB / 0.8649 GB, free: 7.918 MB / 0.5919 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.0009075/0.7325, allocations: 0.6197 MB / 0.8655 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.7325, allocations: 10.28 kB / 0.8655 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003153/0.7329, allocations: 62.14 kB / 0.8655 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.7333, allocations: 308.6 kB / 0.8658 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.7334, allocations: 19 kB / 0.8659 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.722e-05/0.7334, allocations: 24.94 kB / 0.8659 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006039/0.734, allocations: 321.5 kB / 0.8662 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.7341, allocations: 1.438 kB / 0.8662 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.7341, allocations: 14.67 kB / 0.8662 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.7341, allocations: 7.719 kB / 0.8662 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000465/0.7346, allocations: 201.2 kB / 0.8664 GB, free: 6.691 MB / 0.5919 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.001755/0.7364, allocations: 1.531 MB / 0.8679 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.7366, allocations: 120.5 kB / 0.868 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.7368, allocations: 94.41 kB / 0.8681 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007405/0.7376, allocations: 302.1 kB / 0.8684 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.7376, allocations: 40.81 kB / 0.8684 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.7376, allocations: 0 / 0.8684 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007648/0.7384, allocations: 270.6 kB / 0.8687 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.7385, allocations: 51.41 kB / 0.8687 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.7388, allocations: 317.8 kB / 0.869 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.7388, allocations: 31.64 kB / 0.8691 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.739, allocations: 186.2 kB / 0.8692 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.739, allocations: 39.67 kB / 0.8693 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.876e-05/0.7391, allocations: 41 kB / 0.8693 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.7393, allocations: 340 kB / 0.8696 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.7395, allocations: 60.8 kB / 0.8697 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.7397, allocations: 115.5 kB / 0.8698 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.74, allocations: 172.8 kB / 0.87 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.74, allocations: 2.719 kB / 0.87 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004361/0.7405, allocations: 231.9 kB / 0.8702 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.7405, allocations: 5.062 kB / 0.8702 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7405, allocations: 2.75 kB / 0.8702 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.7405, allocations: 2.25 kB / 0.8702 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.7407, allocations: 36.78 kB / 0.8702 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.7407, allocations: 2.906 kB / 0.8702 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.7409, allocations: 38.92 kB / 0.8703 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.741, allocations: 10.11 kB / 0.8703 GB, free: 3.34 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * 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.000156/0.7411, allocations: 152.1 kB / 0.8704 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.7412, allocations: 26.88 kB / 0.8705 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004724/0.7417, allocations: 205.7 kB / 0.8707 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.7417, allocations: 6 kB / 0.8707 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7417, allocations: 2.594 kB / 0.8707 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.7417, allocations: 3.984 kB / 0.8707 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.7429, allocations: 0.6832 MB / 0.8713 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7429, allocations: 2.094 kB / 0.8713 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.7431, allocations: 30.27 kB / 0.8714 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.7431, allocations: 3.312 kB / 0.8714 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.7431, allocations: 6.781 kB / 0.8714 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.7431, allocations: 6.031 kB / 0.8714 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7431, allocations: 2.625 kB / 0.8714 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004949/0.7436, allocations: 335.6 kB / 0.8717 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.7437, allocations: 121.7 kB / 0.8718 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.7438, allocations: 2.188 kB / 0.8718 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.744, allocations: 21.92 kB / 0.8718 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.7441, allocations: 17.67 kB / 0.8719 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.7441, allocations: 9.031 kB / 0.8719 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002216/0.7443, allocations: 220.5 kB / 0.8721 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7443, allocations: 0 / 0.8721 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003819/0.7447, allocations: 72.25 kB / 0.8722 GB, free: 1.879 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (13): * Single equations (assignments): 13 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.000424/0.7451, allocations: 165.8 kB / 0.8723 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003852/0.7455, allocations: 154.4 kB / 0.8725 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7455, allocations: 320 / 0.8725 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.7457, allocations: 89.25 kB / 0.8725 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008772/0.7466, allocations: 135.7 kB / 0.8727 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009581/0.7476, allocations: 0.6355 MB / 0.8733 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.748, allocations: 0.7834 MB / 0.8741 GB, free: 340 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002/0.7482, allocations: 54.84 kB / 0.8741 GB, free: 316 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.7483, allocations: 22.97 kB / 0.8741 GB, free: 308 kB / 0.5919 GB Notification: Performance of SimCode: time 4.3e-07/0.7483, allocations: 4 kB / 0.8741 GB, free: 304 kB / 0.5919 GB Notification: Performance of Templates: time 0.0105/0.7588, allocations: 4.875 MB / 0.8789 GB, free: 13.12 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)