Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8478/0.8478, allocations: 128.7 MB / 143.7 MB, free: 2.32 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 188.5 kB / 173.8 MB, free: 6.133 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.4 MB / 409 MB, free: 10.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000869/0.0008689, allocations: 85.47 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003655, allocations: 11.5 kB / 0.5603 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1549, allocations: 76.76 MB / 0.6353 GB, free: 30.58 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.854/5.009, allocations: 2.139 GB / 2.774 GB, free: 167.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/5.01, allocations: 95.77 kB / 2.774 GB, free: 167.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.9062/5.916, allocations: 302.6 MB / 3.07 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.254e-06/5.916, allocations: 0 / 3.07 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.312e-05/5.916, allocations: 12 kB / 3.07 GB, free: 141.2 MB / 0.6511 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.001835/5.918, allocations: 0.7613 MB / 3.071 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/5.918, allocations: 8.031 kB / 3.071 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/5.919, allocations: 123.5 kB / 3.071 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/5.92, allocations: 350 kB / 3.071 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-05/5.92, allocations: 50.27 kB / 3.071 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.876e-05/5.92, allocations: 31.95 kB / 3.071 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006361/5.921, allocations: 316.7 kB / 3.072 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/5.921, allocations: 0 / 3.072 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/5.921, allocations: 12 kB / 3.072 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/5.921, allocations: 8 kB / 3.072 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005163/5.921, allocations: 290 kB / 3.072 GB, free: 139.1 MB / 0.6511 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.001586/5.923, allocations: 1.083 MB / 3.073 GB, free: 138 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/5.923, allocations: 274.7 kB / 3.073 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008596/5.924, allocations: 0.5053 MB / 3.074 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/5.924, allocations: 34.69 kB / 3.074 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 2.825e-06/5.924, allocations: 7.984 kB / 3.074 GB, free: 137 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0009825/5.925, allocations: 408.2 kB / 3.074 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/5.925, allocations: 55.41 kB / 3.074 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/5.926, allocations: 275.7 kB / 3.074 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/5.926, allocations: 25.7 kB / 3.074 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/5.926, allocations: 172.4 kB / 3.075 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.634e-05/5.926, allocations: 70.94 kB / 3.075 GB, free: 136 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.411e-05/5.926, allocations: 8 kB / 3.075 GB, free: 136 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.958e-05/5.926, allocations: 346.8 kB / 3.075 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/5.926, allocations: 103.9 kB / 3.075 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/5.926, allocations: 146.6 kB / 3.075 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/5.926, allocations: 115.8 kB / 3.075 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/5.926, allocations: 0 / 3.075 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005474/5.927, allocations: 300.1 kB / 3.076 GB, free: 135 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/5.927, allocations: 4.625 kB / 3.076 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/5.927, allocations: 0 / 3.076 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/5.927, allocations: 7.938 kB / 3.076 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/5.927, allocations: 51.91 kB / 3.076 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/5.927, allocations: 0 / 3.076 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/5.928, allocations: 39.72 kB / 3.076 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/5.928, allocations: 12 kB / 3.076 GB, free: 134.9 MB / 0.6511 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 (23): * Single equations (assignments): 23 * 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.0001626/5.928, allocations: 153.7 kB / 3.076 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/5.928, allocations: 27.62 kB / 3.076 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007365/5.929, allocations: 362.9 kB / 3.076 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/5.929, allocations: 4 kB / 3.076 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/5.929, allocations: 7.984 kB / 3.076 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/5.929, allocations: 4 kB / 3.076 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/5.93, allocations: 0.8479 MB / 3.077 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/5.93, allocations: 3.984 kB / 3.077 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/5.93, allocations: 43.92 kB / 3.077 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/5.93, allocations: 4 kB / 3.077 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/5.93, allocations: 16.17 kB / 3.077 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/5.93, allocations: 4 kB / 3.077 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/5.93, allocations: 7.891 kB / 3.077 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008176/5.931, allocations: 0.6428 MB / 3.078 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/5.931, allocations: 112.7 kB / 3.078 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/5.931, allocations: 7.984 kB / 3.078 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/5.932, allocations: 32 kB / 3.078 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/5.932, allocations: 19.97 kB / 3.078 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/5.932, allocations: 8 kB / 3.078 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001717/5.932, allocations: 223 kB / 3.078 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/5.932, allocations: 0 / 3.078 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001047/5.933, allocations: 231.8 kB / 3.078 GB, free: 132 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (senS_flow.s_out,senS.s) * 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 (21): * Single equations (assignments): 21 * 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.00206/5.935, allocations: 1.267 MB / 3.08 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005215/5.936, allocations: 247.8 kB / 3.08 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/5.936, allocations: 4 kB / 3.08 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000214/5.936, allocations: 140.2 kB / 3.08 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007554/5.937, allocations: 156.4 kB / 3.08 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/5.938, allocations: 0.8461 MB / 3.081 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/5.938, allocations: 0.7953 MB / 3.082 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003161/5.938, allocations: 78.88 kB / 3.082 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.755e-05/5.938, allocations: 35.44 kB / 3.082 GB, free: 128.3 MB / 0.6511 GB Notification: Performance of SimCode: time 3.11e-07/5.938, allocations: 0 / 3.082 GB, free: 128.3 MB / 0.6511 GB Notification: Performance of Templates: time 0.02637/5.965, allocations: 21.4 MB / 3.103 GB, free: 107 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)