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.00146/0.00146, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001421/0.001421, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.304/1.304, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002385/0.002385, allocations: 289.5 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.161/1.161, allocations: 178.6 MB / 0.5079 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002641/0.002641, allocations: 99.84 kB / 0.6071 GB, free: 9.289 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1757, allocations: 89.13 MB / 0.6941 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4894/0.6651, allocations: 167.5 MB / 0.8578 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009384/0.6746, allocations: 6.526 MB / 0.8641 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005083/0.6752, allocations: 13.03 kB / 0.8641 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006002/0.6758, allocations: 177.6 kB / 0.8643 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.6781, allocations: 0.8402 MB / 0.8651 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009387/0.6791, allocations: 335.2 kB / 0.8655 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.6801, allocations: 0.7154 MB / 0.8662 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004754/0.6806, allocations: 278 kB / 0.8664 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.6819, allocations: 0.5467 MB / 0.867 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004791/0.6824, allocations: 273.8 kB / 0.8672 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.586e-05/0.6824, allocations: 21.22 kB / 0.8672 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007567/0.6832, allocations: 339.6 kB / 0.8676 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.6834, allocations: 109.6 kB / 0.8677 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.6836, allocations: 161.7 kB / 0.8678 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00081/0.6844, allocations: 458.7 kB / 0.8683 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.6845, allocations: 4 kB / 0.8683 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6845, allocations: 0 / 0.8683 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.6845, allocations: 0 / 0.8683 GB, free: 7.641 MB / 0.6231 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.001005/0.6855, allocations: 0.6164 MB / 0.8689 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.6855, allocations: 11.25 kB / 0.8689 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003367/0.6859, allocations: 61.09 kB / 0.8689 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004127/0.6863, allocations: 307.8 kB / 0.8692 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.6863, allocations: 18.97 kB / 0.8692 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.6864, allocations: 26.19 kB / 0.8693 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005587/0.6869, allocations: 321.1 kB / 0.8696 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.687, allocations: 0 / 0.8696 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.687, allocations: 12.31 kB / 0.8696 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.687, allocations: 10.84 kB / 0.8696 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/0.6874, allocations: 200 kB / 0.8698 GB, free: 6.32 MB / 0.6231 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.001662/0.6891, allocations: 1.542 MB / 0.8713 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.6894, allocations: 126.4 kB / 0.8714 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.6896, allocations: 92.8 kB / 0.8715 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006321/0.6902, allocations: 303.2 kB / 0.8718 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.6902, allocations: 34.56 kB / 0.8718 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.6903, allocations: 0 / 0.8718 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0007575/0.691, allocations: 261.5 kB / 0.8721 GB, free: 3.758 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.6911, allocations: 63.34 kB / 0.8721 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.6914, allocations: 320.4 kB / 0.8724 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.6915, allocations: 29.7 kB / 0.8725 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.6916, allocations: 176.2 kB / 0.8726 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.6917, allocations: 47.36 kB / 0.8727 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.6917, allocations: 33.7 kB / 0.8727 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.6919, allocations: 338.8 kB / 0.873 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.6921, allocations: 63.95 kB / 0.8731 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.6923, allocations: 119 kB / 0.8732 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.6926, allocations: 171.8 kB / 0.8734 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6926, allocations: 4 kB / 0.8734 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004199/0.693, allocations: 217.1 kB / 0.8736 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.6931, allocations: 8.156 kB / 0.8736 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.6931, allocations: 0 / 0.8736 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.6931, allocations: 8.031 kB / 0.8736 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.6933, allocations: 31.92 kB / 0.8736 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.6933, allocations: 7.938 kB / 0.8736 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.6935, allocations: 32.17 kB / 0.8737 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.6935, allocations: 8 kB / 0.8737 GB, free: 2.027 MB / 0.6231 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.0001578/0.6937, allocations: 153.7 kB / 0.8738 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.6937, allocations: 31.7 kB / 0.8739 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000437/0.6942, allocations: 201 kB / 0.874 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.6942, allocations: 0 / 0.874 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.6942, allocations: 0.75 kB / 0.874 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.6942, allocations: 0 / 0.874 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.6952, allocations: 0.6911 MB / 0.8747 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6953, allocations: 4.688 kB / 0.8747 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.6954, allocations: 28.19 kB / 0.8748 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.6954, allocations: 8 kB / 0.8748 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.6954, allocations: 8 kB / 0.8748 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.6955, allocations: 8.75 kB / 0.8748 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6955, allocations: 4 kB / 0.8748 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004558/0.6959, allocations: 338.2 kB / 0.8751 GB, free: 452 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.696, allocations: 116.7 kB / 0.8752 GB, free: 316 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.6961, allocations: 8 kB / 0.8752 GB, free: 308 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.6962, allocations: 11.92 kB / 0.8752 GB, free: 296 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.6963, allocations: 19.98 kB / 0.8753 GB, free: 276 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.6963, allocations: 4.5 kB / 0.8753 GB, free: 272 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002246/0.6965, allocations: 223.1 kB / 0.8755 GB, free: 52 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6966, allocations: 0 / 0.8755 GB, free: 52 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003918/0.697, allocations: 71.88 kB / 0.8755 GB, free: 15.98 MB / 0.6387 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.0003919/0.6974, allocations: 155.8 kB / 0.8757 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.6978, allocations: 160 kB / 0.8758 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.6978, allocations: 4 kB / 0.8758 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.698, allocations: 83.83 kB / 0.8759 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008023/0.6988, allocations: 152.9 kB / 0.8761 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009918/0.6998, allocations: 0.5789 MB / 0.8766 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.7002, allocations: 0.7834 MB / 0.8774 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/0.7003, allocations: 27.44 kB / 0.8774 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.7003, allocations: 0 / 0.8774 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of Templates: time 0.007737/0.708, allocations: 4.549 MB / 0.8819 GB, free: 9.52 MB / 0.6387 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)