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.0008122/0.0008122, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.004735/0.004735, allocations: 169 kB / 16.26 MB, free: 6.652 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001743/0.001743, allocations: 278.3 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9449/0.9449, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004443/0.0004443, allocations: 14.66 kB / 0.5987 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1873, allocations: 88.55 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4896/0.677, allocations: 163.1 MB / 0.8444 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006809/0.6838, allocations: 6.463 MB / 0.8507 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003162/0.6842, allocations: 9.781 kB / 0.8508 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004626/0.6847, allocations: 131.7 kB / 0.8509 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001823/0.6865, allocations: 0.7919 MB / 0.8516 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008165/0.6873, allocations: 288.7 kB / 0.8519 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009222/0.6883, allocations: 1.013 MB / 0.8529 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003628/0.6886, allocations: 225.2 kB / 0.8531 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.6897, allocations: 0.5062 MB / 0.8536 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003385/0.69, allocations: 289.4 kB / 0.8539 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.6901, allocations: 10.84 kB / 0.8539 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006412/0.6907, allocations: 393.8 kB / 0.8543 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.6908, allocations: 91.69 kB / 0.8544 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.691, allocations: 174.1 kB / 0.8545 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000539/0.6915, allocations: 473.9 kB / 0.855 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6916, allocations: 0 / 0.855 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6916, allocations: 6.719 kB / 0.855 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.6916, allocations: 0 / 0.855 GB, free: 11.32 MB / 0.5762 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.0007388/0.6923, allocations: 0.5639 MB / 0.8555 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.6924, allocations: 9.219 kB / 0.8556 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002801/0.6926, allocations: 59.88 kB / 0.8556 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.693, allocations: 311.3 kB / 0.8559 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.693, allocations: 24.28 kB / 0.8559 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.6931, allocations: 26.19 kB / 0.856 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/0.6936, allocations: 321.5 kB / 0.8563 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.6936, allocations: 6.562 kB / 0.8563 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.6936, allocations: 10.5 kB / 0.8563 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.6937, allocations: 5.844 kB / 0.8563 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/0.6941, allocations: 211 kB / 0.8565 GB, free: 10.13 MB / 0.5762 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.001506/0.6956, allocations: 1.539 MB / 0.858 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.6958, allocations: 126.7 kB / 0.8581 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.696, allocations: 98.89 kB / 0.8582 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005908/0.6966, allocations: 318.7 kB / 0.8585 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.6967, allocations: 40.28 kB / 0.8585 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.774e-06/0.6967, allocations: 0 / 0.8585 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007689/0.6974, allocations: 282.5 kB / 0.8588 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.6975, allocations: 59.39 kB / 0.8589 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.6978, allocations: 305.1 kB / 0.8592 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.6978, allocations: 28.39 kB / 0.8592 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.698, allocations: 192.8 kB / 0.8594 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.698, allocations: 40.69 kB / 0.8594 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.6981, allocations: 27.2 kB / 0.8594 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.6982, allocations: 336.6 kB / 0.8598 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.6984, allocations: 63.89 kB / 0.8598 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.6985, allocations: 122.4 kB / 0.8599 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.6989, allocations: 183 kB / 0.8601 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.6989, allocations: 3.938 kB / 0.8601 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004171/0.6993, allocations: 226.7 kB / 0.8603 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.6993, allocations: 7.031 kB / 0.8603 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6994, allocations: 3.062 kB / 0.8603 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.6994, allocations: 2.844 kB / 0.8603 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.6995, allocations: 34.36 kB / 0.8604 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.6996, allocations: 3.344 kB / 0.8604 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.6998, allocations: 54.14 kB / 0.8604 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.6998, allocations: 7.969 kB / 0.8604 GB, free: 6.781 MB / 0.5762 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.0001328/0.7, allocations: 147.7 kB / 0.8606 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.7, allocations: 29.78 kB / 0.8606 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004526/0.7005, allocations: 228.2 kB / 0.8608 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.7005, allocations: 0 / 0.8608 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.7005, allocations: 0 / 0.8608 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.7005, allocations: 0 / 0.8608 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009537/0.7015, allocations: 0.6966 MB / 0.8615 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.7015, allocations: 2.375 kB / 0.8615 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.7016, allocations: 36.77 kB / 0.8615 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.7016, allocations: 2.625 kB / 0.8615 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.7016, allocations: 3.219 kB / 0.8616 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.7016, allocations: 10.89 kB / 0.8616 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7017, allocations: 2.812 kB / 0.8616 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004197/0.7021, allocations: 348 kB / 0.8619 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.711e-05/0.7022, allocations: 114.7 kB / 0.862 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.7022, allocations: 9.125 kB / 0.862 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.7024, allocations: 22.7 kB / 0.862 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.7025, allocations: 21.73 kB / 0.8621 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.7025, allocations: 5.906 kB / 0.8621 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001935/0.7027, allocations: 225.6 kB / 0.8623 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7027, allocations: 0 / 0.8623 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003611/0.7031, allocations: 69.66 kB / 0.8623 GB, free: 5.305 MB / 0.5762 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.000389/0.7034, allocations: 159.9 kB / 0.8625 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004027/0.7039, allocations: 172.5 kB / 0.8627 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7039, allocations: 0 / 0.8627 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.7041, allocations: 90.42 kB / 0.8627 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009189/0.705, allocations: 147.7 kB / 0.8629 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008672/0.7059, allocations: 0.6486 MB / 0.8635 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.7062, allocations: 0.7711 MB / 0.8643 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001866/0.7064, allocations: 70.64 kB / 0.8643 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.7065, allocations: 24.5 kB / 0.8644 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.7065, allocations: 3.938 kB / 0.8644 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of Templates: time 0.00889/0.7154, allocations: 4.858 MB / 0.8691 GB, free: 1.328 MB / 0.5762 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)