Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001625/0.001625, allocations: 110 kB / 16.41 MB, free: 6.477 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.001752/0.001752, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.321/1.321, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002112/0.002112, allocations: 287.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9157/0.9157, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 99.84 kB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4561/0.4581, allocations: 86.98 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1701/0.6282, allocations: 169.4 MB / 0.9325 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008092/0.6363, allocations: 7.128 MB / 0.9395 GB, free: 2.66 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005155/0.6369, allocations: 15.88 kB / 0.9395 GB, free: 2.645 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005943/0.6375, allocations: 170.8 kB / 0.9397 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003108/0.6406, allocations: 1.264 MB / 0.9409 GB, free: 1.207 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.6422, allocations: 0.6359 MB / 0.9415 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008932/0.6431, allocations: 0.7486 MB / 0.9422 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000437/0.6436, allocations: 305.3 kB / 0.9425 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.6447, allocations: 0.5721 MB / 0.9431 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007664/0.6455, allocations: 422.5 kB / 0.9435 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.094e-05/0.6456, allocations: 28 kB / 0.9435 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.6477, allocations: 1.239 MB / 0.9447 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.6479, allocations: 119.6 kB / 0.9448 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.6481, allocations: 179.1 kB / 0.945 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.6494, allocations: 0.9077 MB / 0.9459 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.6494, allocations: 8 kB / 0.9459 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6494, allocations: 0 / 0.9459 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.6495, allocations: 0 / 0.9459 GB, free: 12.06 MB / 0.7169 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.0009653/0.6504, allocations: 0.6934 MB / 0.9466 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.6505, allocations: 8.031 kB / 0.9466 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009776/0.6515, allocations: 135.4 kB / 0.9467 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/0.652, allocations: 345 kB / 0.9471 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.904e-05/0.6521, allocations: 46.27 kB / 0.9471 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/0.6521, allocations: 36 kB / 0.9471 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006238/0.6527, allocations: 366.2 kB / 0.9475 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.6528, allocations: 0 / 0.9475 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.6528, allocations: 12 kB / 0.9475 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.6528, allocations: 7.938 kB / 0.9475 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005077/0.6533, allocations: 278 kB / 0.9478 GB, free: 10.05 MB / 0.7169 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.001704/0.655, allocations: 1.484 MB / 0.9492 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.6554, allocations: 198.5 kB / 0.9494 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.6556, allocations: 120.8 kB / 0.9495 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008969/0.6566, allocations: 0.5053 MB / 0.95 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.6566, allocations: 30.56 kB / 0.95 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.6566, allocations: 0 / 0.95 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0009133/0.6575, allocations: 356.4 kB / 0.9504 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.6576, allocations: 55.41 kB / 0.9504 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.6579, allocations: 320.5 kB / 0.9507 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.6579, allocations: 29.64 kB / 0.9508 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.6581, allocations: 188.1 kB / 0.9509 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/0.6581, allocations: 47.27 kB / 0.951 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.939e-05/0.6582, allocations: 45.7 kB / 0.951 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6583, allocations: 338.8 kB / 0.9514 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.6585, allocations: 91.88 kB / 0.9514 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.6588, allocations: 149.8 kB / 0.9516 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.6592, allocations: 237.8 kB / 0.9518 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6592, allocations: 0 / 0.9518 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005531/0.6597, allocations: 295.4 kB / 0.9521 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6598, allocations: 4 kB / 0.9521 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.6598, allocations: 0 / 0.9521 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.6598, allocations: 7.984 kB / 0.9521 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.66, allocations: 39.92 kB / 0.9521 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.66, allocations: 4 kB / 0.9522 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.6602, allocations: 31.67 kB / 0.9522 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.6603, allocations: 15.98 kB / 0.9522 GB, free: 5.172 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.6604, allocations: 160.3 kB / 0.9523 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.6605, allocations: 35.56 kB / 0.9524 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006666/0.6612, allocations: 304.2 kB / 0.9527 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.6612, allocations: 4 kB / 0.9527 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.6612, allocations: 0 / 0.9527 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.6612, allocations: 0 / 0.9527 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.6624, allocations: 0.8123 MB / 0.9535 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6625, allocations: 4 kB / 0.9535 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.6626, allocations: 31.98 kB / 0.9535 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.6626, allocations: 3.984 kB / 0.9535 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.6627, allocations: 11.94 kB / 0.9535 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.6627, allocations: 7.938 kB / 0.9535 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6627, allocations: 0 / 0.9535 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005467/0.6632, allocations: 401 kB / 0.9539 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.6634, allocations: 136.7 kB / 0.954 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.6634, allocations: 7.938 kB / 0.954 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.6637, allocations: 15.98 kB / 0.9541 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.6637, allocations: 11.98 kB / 0.9541 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.6638, allocations: 12 kB / 0.9541 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001949/0.664, allocations: 227 kB / 0.9543 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.664, allocations: 0 / 0.9543 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004992/0.6645, allocations: 119.8 kB / 0.9544 GB, free: 2.746 MB / 0.7169 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 (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.0005656/0.6651, allocations: 240.6 kB / 0.9546 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004738/0.6655, allocations: 223.7 kB / 0.9549 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6656, allocations: 4.375 kB / 0.9549 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.6658, allocations: 119.8 kB / 0.955 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008381/0.6666, allocations: 152.2 kB / 0.9551 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.6676, allocations: 0.6376 MB / 0.9557 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.6679, allocations: 0.7834 MB / 0.9565 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.753e-05/0.6681, allocations: 31.44 kB / 0.9565 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.6681, allocations: 0 / 0.9565 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of Templates: time 0.4003/1.068, allocations: 6.272 MB / 0.9627 GB, free: 190.1 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)