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.7014/0.7014, allocations: 128.7 MB / 143.7 MB, free: 2.332 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.001005/0.001005, allocations: 182.2 kB / 173.8 MB, free: 6.148 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.394/1.394, 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.0008642/0.0008642, allocations: 94.53 kB / 486.6 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003289, allocations: 10.03 kB / 0.5603 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1305, allocations: 76.77 MB / 0.6353 GB, free: 30.61 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4059/0.5365, allocations: 149.2 MB / 0.781 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.005475/0.542, allocations: 5.348 MB / 0.7862 GB, free: 284 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004001/0.5424, allocations: 13.84 kB / 0.7862 GB, free: 276 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005634/0.543, allocations: 196.9 kB / 0.7864 GB, free: 236 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.5448, allocations: 0.7142 MB / 0.7871 GB, free: 196 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.5459, allocations: 0.5181 MB / 0.7876 GB, free: 176 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0004894/0.5464, allocations: 0.5023 MB / 0.7881 GB, free: 156 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.5468, allocations: 244.1 kB / 0.7884 GB, free: 132 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008916/0.5477, allocations: 0.5111 MB / 0.7889 GB, free: 72 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000541/0.5482, allocations: 349.3 kB / 0.7892 GB, free: 24 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.807e-05/0.5483, allocations: 16.5 kB / 0.7892 GB, free: 24 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.5494, allocations: 0.5562 MB / 0.7897 GB, free: 0 / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.5495, allocations: 99.64 kB / 0.7898 GB, free: 0 / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 9.914e-05/0.5496, allocations: 87.2 kB / 0.7899 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.5502, allocations: 482.8 kB / 0.7904 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.5502, allocations: 0 / 0.7904 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5502, allocations: 0 / 0.7904 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.5502, allocations: 1.438 kB / 0.7904 GB, free: 15.92 MB / 0.5261 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.0008562/0.5511, allocations: 0.6339 MB / 0.791 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.5511, allocations: 10.42 kB / 0.791 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009092/0.552, allocations: 130.2 kB / 0.7911 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.5525, allocations: 319.4 kB / 0.7914 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-05/0.5525, allocations: 51.58 kB / 0.7915 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.34e-05/0.5526, allocations: 24.06 kB / 0.7915 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/0.5532, allocations: 324 kB / 0.7918 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.5532, allocations: 3.375 kB / 0.7918 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.5532, allocations: 9.625 kB / 0.7918 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.5532, allocations: 10.38 kB / 0.7918 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.5537, allocations: 300.9 kB / 0.7921 GB, free: 15.1 MB / 0.5261 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.001476/0.5552, allocations: 1.108 MB / 0.7932 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005958/0.5558, allocations: 263 kB / 0.7935 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004092/0.5563, allocations: 141.4 kB / 0.7936 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.5563, allocations: 36.66 kB / 0.7936 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.5563, allocations: 0 / 0.7936 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20): time 0.0009983/0.5573, allocations: 448.2 kB / 0.7941 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.5574, allocations: 53.84 kB / 0.7941 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.5576, allocations: 308.5 kB / 0.7944 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.5577, allocations: 30.05 kB / 0.7944 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.603e-05/0.5578, allocations: 167.7 kB / 0.7946 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.32e-05/0.5579, allocations: 69.95 kB / 0.7947 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/0.5579, allocations: 4.531 kB / 0.7947 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.558, allocations: 347 kB / 0.795 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.5582, allocations: 106.1 kB / 0.7951 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.5585, allocations: 152 kB / 0.7952 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.5587, allocations: 122 kB / 0.7954 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5587, allocations: 5.844 kB / 0.7954 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005931/0.5593, allocations: 332.1 kB / 0.7957 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.5593, allocations: 5.188 kB / 0.7957 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5593, allocations: 1.156 kB / 0.7957 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.5594, allocations: 5.953 kB / 0.7957 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.5596, allocations: 51.14 kB / 0.7957 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.5596, allocations: 2.812 kB / 0.7958 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.5598, allocations: 42.89 kB / 0.7958 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.5599, allocations: 15.56 kB / 0.7958 GB, free: 13.39 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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.0001495/0.56, allocations: 152.5 kB / 0.796 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.5602, allocations: 29.81 kB / 0.796 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008037/0.561, allocations: 395.6 kB / 0.7964 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.561, allocations: 2.562 kB / 0.7964 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.561, allocations: 5.734 kB / 0.7964 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.561, allocations: 0 / 0.7964 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.5623, allocations: 0.8601 MB / 0.7972 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.5624, allocations: 10.64 kB / 0.7972 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.5626, allocations: 49.52 kB / 0.7973 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.5626, allocations: 3.156 kB / 0.7973 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.5627, allocations: 12.86 kB / 0.7973 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.5627, allocations: 2.25 kB / 0.7973 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.5627, allocations: 6.312 kB / 0.7973 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009273/0.5636, allocations: 0.6765 MB / 0.7979 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.57e-05/0.5637, allocations: 114.6 kB / 0.7981 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.5638, allocations: 8.656 kB / 0.7981 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.564, allocations: 27.53 kB / 0.7981 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.5641, allocations: 20.58 kB / 0.7981 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.5641, allocations: 15.61 kB / 0.7981 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001864/0.5643, allocations: 222.9 kB / 0.7983 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5643, allocations: 0 / 0.7983 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005226/0.5649, allocations: 121.9 kB / 0.7985 GB, free: 11.95 MB / 0.5261 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.0004719/0.5654, allocations: 224.7 kB / 0.7987 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005313/0.5659, allocations: 270.9 kB / 0.7989 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5659, allocations: 1.031 kB / 0.7989 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.5662, allocations: 144.7 kB / 0.7991 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007363/0.5669, allocations: 152.6 kB / 0.7992 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.5681, allocations: 0.8627 MB / 0.8001 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.5685, allocations: 0.797 MB / 0.8008 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003415/0.5688, allocations: 96.77 kB / 0.8009 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.816e-05/0.5689, allocations: 31.31 kB / 0.801 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/0.5689, allocations: 1.156 kB / 0.801 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of Templates: time 0.01138/0.5803, allocations: 7.096 MB / 0.8079 GB, free: 6.746 MB / 0.5261 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)