Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009373/0.0009374, allocations: 95.33 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.39/1.39, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6833/0.6833, allocations: 113.8 MB / 405.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003128, allocations: 8 kB / 493 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1446, allocations: 77.16 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4303/0.5749, allocations: 141.8 MB / 0.6953 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006786/0.5817, allocations: 5.255 MB / 0.7004 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004293/0.5822, allocations: 11.94 kB / 0.7005 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007095/0.5829, allocations: 195.1 kB / 0.7006 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.5849, allocations: 0.701 MB / 0.7013 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.5863, allocations: 0.5071 MB / 0.7018 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007147/0.587, allocations: 452 kB / 0.7023 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004251/0.5875, allocations: 237.2 kB / 0.7025 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.5886, allocations: 0.4946 MB / 0.703 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007099/0.5893, allocations: 335 kB / 0.7033 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.5894, allocations: 16 kB / 0.7033 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.5907, allocations: 0.546 MB / 0.7038 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.5908, allocations: 99.7 kB / 0.7039 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.705e-05/0.5909, allocations: 81.58 kB / 0.704 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006948/0.5916, allocations: 476.7 kB / 0.7045 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.5916, allocations: 0 / 0.7045 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5917, allocations: 4 kB / 0.7045 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.5917, allocations: 0 / 0.7045 GB, free: 2.941 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009232/0.5926, allocations: 0.6179 MB / 0.7051 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.5926, allocations: 8.031 kB / 0.7051 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.5937, allocations: 127.4 kB / 0.7052 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.5941, allocations: 317.4 kB / 0.7055 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-05/0.5942, allocations: 50.27 kB / 0.7055 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.5943, allocations: 24 kB / 0.7056 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006494/0.595, allocations: 374.1 kB / 0.7059 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.595, allocations: 0 / 0.7059 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.595, allocations: 16 kB / 0.7059 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.595, allocations: 7.938 kB / 0.7059 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000534/0.5956, allocations: 278 kB / 0.7062 GB, free: 1.035 MB / 0.5137 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.001779/0.5974, allocations: 1.492 MB / 0.7077 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.5979, allocations: 166.4 kB / 0.7078 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004192/0.5983, allocations: 141 kB / 0.708 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.5983, allocations: 32.53 kB / 0.708 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.5983, allocations: 0 / 0.708 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0009703/0.5993, allocations: 392.2 kB / 0.7084 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.5994, allocations: 59.34 kB / 0.7084 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.5997, allocations: 316.5 kB / 0.7087 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.5997, allocations: 29.7 kB / 0.7088 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.5998, allocations: 192 kB / 0.7089 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.5999, allocations: 51.2 kB / 0.709 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/0.5999, allocations: 8 kB / 0.709 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.6, allocations: 334.8 kB / 0.7093 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.6003, allocations: 95.92 kB / 0.7094 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.6005, allocations: 159.7 kB / 0.7096 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.6008, allocations: 115.9 kB / 0.7097 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.6008, allocations: 3.984 kB / 0.7097 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006894/0.6015, allocations: 301 kB / 0.71 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.6015, allocations: 5.875 kB / 0.71 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.6016, allocations: 4 kB / 0.71 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.6016, allocations: 4 kB / 0.71 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.6018, allocations: 43.97 kB / 0.71 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.6019, allocations: 12.12 kB / 0.71 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.6022, allocations: 31.73 kB / 0.7101 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.6022, allocations: 19.98 kB / 0.7101 GB, free: 12.83 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0002056/0.6024, allocations: 145.8 kB / 0.7102 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.6025, allocations: 31.72 kB / 0.7102 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008002/0.6033, allocations: 338 kB / 0.7106 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.6034, allocations: 0 / 0.7106 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.6034, allocations: 4 kB / 0.7106 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.6034, allocations: 4 kB / 0.7106 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.6049, allocations: 0.8121 MB / 0.7114 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.605, allocations: 5 kB / 0.7114 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.6052, allocations: 39.97 kB / 0.7114 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.6052, allocations: 4 kB / 0.7114 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.6052, allocations: 4 kB / 0.7114 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.6052, allocations: 8.141 kB / 0.7114 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6052, allocations: 8 kB / 0.7114 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006978/0.6059, allocations: 0.5009 MB / 0.7119 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.6061, allocations: 120.8 kB / 0.712 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/0.6062, allocations: 4.562 kB / 0.712 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002981/0.6065, allocations: 39.77 kB / 0.7121 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.6065, allocations: 23.92 kB / 0.7121 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.6066, allocations: 8 kB / 0.7121 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002129/0.6068, allocations: 223 kB / 0.7123 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6068, allocations: 0 / 0.7123 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005474/0.6074, allocations: 111.8 kB / 0.7124 GB, free: 10.23 MB / 0.5294 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 (16): * Single equations (assignments): 16 * 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.0005338/0.6079, allocations: 219.4 kB / 0.7126 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005274/0.6084, allocations: 231.8 kB / 0.7129 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6084, allocations: 0 / 0.7129 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.6087, allocations: 128.6 kB / 0.713 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008117/0.6095, allocations: 157.2 kB / 0.7131 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.6106, allocations: 0.6943 MB / 0.7138 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.611, allocations: 0.7992 MB / 0.7146 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003178/0.6113, allocations: 79.97 kB / 0.7147 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.885e-05/0.6114, allocations: 31.42 kB / 0.7147 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.6114, allocations: 0 / 0.7147 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of Templates: time 0.01252/0.6239, allocations: 6.827 MB / 0.7214 GB, free: 1.113 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)