Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.004682/0.004682, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001043/0.001043, allocations: 190.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.1 MB / 222.5 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.677/1.677, allocations: 251.7 MB / 0.5094 GB, free: 3.051 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 72.45 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2767, allocations: 104.7 MB / 0.8281 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.8451/1.122, allocations: 167.7 MB / 0.9918 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008823/1.131, allocations: 6.608 MB / 0.9982 GB, free: 5.918 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009996/1.132, allocations: 11.91 kB / 0.9983 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008855/1.133, allocations: 164.7 kB / 0.9984 GB, free: 5.77 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002872/1.136, allocations: 0.8436 MB / 0.9992 GB, free: 5.129 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/1.137, allocations: 327.2 kB / 0.9996 GB, free: 4.895 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001063/1.138, allocations: 0.7465 MB / 1 GB, free: 4.465 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004932/1.138, allocations: 276.9 kB / 1.001 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/1.14, allocations: 0.5659 MB / 1.001 GB, free: 3.945 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003701/1.14, allocations: 282.2 kB / 1.001 GB, free: 3.781 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.121e-05/1.14, allocations: 27.59 kB / 1.001 GB, free: 3.781 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000654/1.141, allocations: 344.4 kB / 1.002 GB, free: 3.602 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/1.141, allocations: 110.8 kB / 1.002 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001673/1.141, allocations: 175.2 kB / 1.002 GB, free: 3.414 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0006735/1.142, allocations: 494.4 kB / 1.002 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.142, allocations: 0 / 1.002 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.523e-06/1.142, allocations: 0 / 1.002 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.898e-06/1.142, allocations: 2.844 kB / 1.002 GB, free: 3.105 MB / 0.7481 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.0009715/1.143, allocations: 0.6309 MB / 1.003 GB, free: 2.539 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.143, allocations: 9.688 kB / 1.003 GB, free: 2.539 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/1.143, allocations: 54.22 kB / 1.003 GB, free: 2.516 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005726/1.144, allocations: 337.3 kB / 1.003 GB, free: 2.207 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/1.144, allocations: 19.22 kB / 1.003 GB, free: 2.199 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/1.144, allocations: 28.12 kB / 1.004 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005234/1.144, allocations: 308.8 kB / 1.004 GB, free: 1.992 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/1.144, allocations: 0 / 1.004 GB, free: 1.992 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/1.144, allocations: 10.19 kB / 1.004 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/1.144, allocations: 5.656 kB / 1.004 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/1.145, allocations: 225.9 kB / 1.004 GB, free: 1.883 MB / 0.7481 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.001431/1.146, allocations: 1.146 MB / 1.005 GB, free: 0.8672 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/1.147, allocations: 191.6 kB / 1.005 GB, free: 0.7617 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/1.147, allocations: 113 kB / 1.005 GB, free: 0.7031 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005617/1.148, allocations: 300.6 kB / 1.006 GB, free: 408 kB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/1.148, allocations: 38.5 kB / 1.006 GB, free: 360 kB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.403e-06/1.148, allocations: 3.938 kB / 1.006 GB, free: 356 kB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.0008399/1.149, allocations: 344.8 kB / 1.006 GB, free: 176 kB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/1.149, allocations: 53.78 kB / 1.006 GB, free: 112 kB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/1.149, allocations: 296.5 kB / 1.006 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/1.149, allocations: 35.98 kB / 1.006 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/1.149, allocations: 172 kB / 1.007 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/1.149, allocations: 57.95 kB / 1.007 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.462e-05/1.149, allocations: 43.73 kB / 1.007 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.149, allocations: 342.4 kB / 1.007 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/1.15, allocations: 74.05 kB / 1.007 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/1.15, allocations: 112.6 kB / 1.007 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/1.15, allocations: 184.2 kB / 1.007 GB, free: 15.1 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.15, allocations: 3.938 kB / 1.007 GB, free: 15.1 MB / 0.7637 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004567/1.151, allocations: 253.2 kB / 1.008 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.151, allocations: 14.06 kB / 1.008 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/1.151, allocations: 0 / 1.008 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/1.151, allocations: 0 / 1.008 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/1.151, allocations: 37.97 kB / 1.008 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/1.151, allocations: 2.156 kB / 1.008 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/1.151, allocations: 34.3 kB / 1.008 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/1.151, allocations: 4.562 kB / 1.008 GB, free: 14.93 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (21): * Single equations (assignments): 21 * 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.0001434/1.151, allocations: 159.6 kB / 1.008 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/1.151, allocations: 28.41 kB / 1.008 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005507/1.152, allocations: 272 kB / 1.008 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.152, allocations: 3.938 kB / 1.008 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.152, allocations: 2.094 kB / 1.008 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/1.152, allocations: 0 / 1.008 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/1.153, allocations: 0.7671 MB / 1.009 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.153, allocations: 2.375 kB / 1.009 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/1.153, allocations: 41.81 kB / 1.009 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/1.153, allocations: 3.062 kB / 1.009 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/1.153, allocations: 10.44 kB / 1.009 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/1.153, allocations: 6.344 kB / 1.009 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.153, allocations: 2.5 kB / 1.009 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007835/1.154, allocations: 0.4934 MB / 1.009 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/1.154, allocations: 122.8 kB / 1.01 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/1.154, allocations: 14.36 kB / 1.01 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/1.154, allocations: 8.812 kB / 1.01 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.993e-05/1.155, allocations: 23.78 kB / 1.01 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/1.155, allocations: 7.969 kB / 1.01 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000189/1.155, allocations: 213.3 kB / 1.01 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.11e-07/1.155, allocations: 0 / 1.01 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0003821/1.155, allocations: 82.56 kB / 1.01 GB, free: 13.28 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * 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.0003869/1.156, allocations: 162.6 kB / 1.01 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0004611/1.156, allocations: 198.9 kB / 1.01 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.156, allocations: 0 / 1.01 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/1.156, allocations: 116 kB / 1.01 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008148/1.157, allocations: 156.5 kB / 1.011 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/1.158, allocations: 0.6767 MB / 1.011 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/1.158, allocations: 0.787 MB / 1.012 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001896/1.159, allocations: 68.91 kB / 1.012 GB, free: 11.65 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/1.159, allocations: 24.94 kB / 1.012 GB, free: 11.65 MB / 0.7637 GB Notification: Performance of SimCode: time 4.31e-07/1.159, allocations: 0 / 1.012 GB, free: 11.65 MB / 0.7637 GB Notification: Performance of Templates: time 0.009704/1.168, allocations: 5.419 MB / 1.017 GB, free: 8.98 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)