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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5218/0.5218, allocations: 91.99 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 223.2 MB / 354.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008853/0.0008851, allocations: 96.23 kB / 427.4 MB, free: 3.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003533, allocations: 12 kB / 0.4983 GB, free: 42.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1551, allocations: 72.31 MB / 0.5689 GB, free: 1.938 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.262/5.417, allocations: 1.822 GB / 2.391 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004024/5.418, allocations: 90.64 kB / 2.391 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.515/6.933, allocations: 306.8 MB / 2.691 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.425e-06/6.933, allocations: 0 / 2.691 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.474e-05/6.933, allocations: 9.734 kB / 2.691 GB, free: 135.7 MB / 0.6042 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.002229/6.935, allocations: 0.754 MB / 2.692 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.807e-05/6.935, allocations: 8.656 kB / 2.692 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/6.936, allocations: 126.9 kB / 2.692 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008039/6.937, allocations: 347.2 kB / 2.692 GB, free: 135 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.452e-05/6.937, allocations: 49.05 kB / 2.692 GB, free: 135 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.774e-05/6.937, allocations: 25.34 kB / 2.692 GB, free: 135 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007896/6.938, allocations: 364.8 kB / 2.693 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/6.938, allocations: 0 / 2.693 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/6.938, allocations: 9.875 kB / 2.693 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/6.938, allocations: 10.52 kB / 2.693 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005605/6.939, allocations: 265.9 kB / 2.693 GB, free: 134.9 MB / 0.6042 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.00187/6.941, allocations: 1.474 MB / 2.694 GB, free: 134 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/6.941, allocations: 187.8 kB / 2.694 GB, free: 134 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008371/6.942, allocations: 0.5046 MB / 2.695 GB, free: 133.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/6.942, allocations: 34.28 kB / 2.695 GB, free: 133.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.675e-06/6.942, allocations: 2.828 kB / 2.695 GB, free: 133.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.000948/6.943, allocations: 357.2 kB / 2.695 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/6.943, allocations: 52.88 kB / 2.695 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/6.943, allocations: 280 kB / 2.696 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/6.943, allocations: 31.67 kB / 2.696 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/6.943, allocations: 183.2 kB / 2.696 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/6.944, allocations: 56.2 kB / 2.696 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/6.944, allocations: 6.281 kB / 2.696 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.622e-05/6.944, allocations: 337 kB / 2.696 GB, free: 132.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/6.944, allocations: 89.59 kB / 2.696 GB, free: 132.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/6.944, allocations: 158.5 kB / 2.696 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/6.944, allocations: 106 kB / 2.697 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/6.944, allocations: 1.438 kB / 2.697 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00057/6.945, allocations: 285.7 kB / 2.697 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/6.945, allocations: 5 kB / 2.697 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/6.945, allocations: 2.188 kB / 2.697 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/6.945, allocations: 6.531 kB / 2.697 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/6.945, allocations: 47.02 kB / 2.697 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/6.945, allocations: 3.719 kB / 2.697 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/6.946, allocations: 44 kB / 2.697 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.522e-05/6.946, allocations: 10.44 kB / 2.697 GB, free: 132.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0001447/6.946, allocations: 159.7 kB / 2.697 GB, free: 132.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.609e-05/6.946, allocations: 29.81 kB / 2.697 GB, free: 132.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000709/6.947, allocations: 306.4 kB / 2.697 GB, free: 132.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/6.947, allocations: 5.062 kB / 2.697 GB, free: 132.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/6.947, allocations: 0.75 kB / 2.697 GB, free: 132.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/6.947, allocations: 1.703 kB / 2.697 GB, free: 132.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/6.948, allocations: 0.803 MB / 2.698 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/6.948, allocations: 4.125 kB / 2.698 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/6.948, allocations: 39.69 kB / 2.698 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/6.948, allocations: 3.125 kB / 2.698 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/6.948, allocations: 3.812 kB / 2.698 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/6.948, allocations: 9.969 kB / 2.698 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/6.948, allocations: 6.609 kB / 2.698 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005799/6.949, allocations: 486.5 kB / 2.699 GB, free: 131.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/6.949, allocations: 133.6 kB / 2.699 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/6.949, allocations: 7.312 kB / 2.699 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/6.949, allocations: 37.75 kB / 2.699 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/6.949, allocations: 18.41 kB / 2.699 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/6.949, allocations: 15.64 kB / 2.699 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002008/6.95, allocations: 223.1 kB / 2.699 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/6.95, allocations: 0 / 2.699 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009879/6.951, allocations: 223.9 kB / 2.699 GB, free: 131.6 MB / 0.6042 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.002033/6.953, allocations: 1.239 MB / 2.701 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005324/6.953, allocations: 217 kB / 2.701 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/6.953, allocations: 0 / 2.701 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002401/6.953, allocations: 117.8 kB / 2.701 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007714/6.954, allocations: 162.5 kB / 2.701 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/6.955, allocations: 0.6889 MB / 2.702 GB, free: 130.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/6.956, allocations: 0.7889 MB / 2.702 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000315/6.956, allocations: 76.88 kB / 2.703 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.279e-05/6.956, allocations: 28.23 kB / 2.703 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of SimCode: time 1.332e-06/6.956, allocations: 0 / 2.703 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.05097/7.007, allocations: 21.1 MB / 2.723 GB, free: 130 MB / 0.6042 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)