Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001199/0.001199, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.001483/0.001483, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 222.1 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.602/1.602, allocations: 251.9 MB / 0.51 GB, free: 4.906 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005968/0.0005971, allocations: 19.98 kB / 0.6241 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6348/0.6354, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1864/0.8218, allocations: 141.9 MB / 0.8666 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006746/0.8286, allocations: 5.329 MB / 0.8718 GB, free: 7.816 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005381/0.8292, allocations: 7.938 kB / 0.8718 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007912/0.83, allocations: 203 kB / 0.872 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.8322, allocations: 0.7166 MB / 0.8727 GB, free: 6.891 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.8338, allocations: 0.5346 MB / 0.8732 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0007376/0.8345, allocations: 468 kB / 0.8736 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004414/0.835, allocations: 237.1 kB / 0.8739 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.8363, allocations: 0.4947 MB / 0.8744 GB, free: 5.172 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007616/0.8371, allocations: 343 kB / 0.8747 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.8371, allocations: 20 kB / 0.8747 GB, free: 4.816 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.8386, allocations: 0.5577 MB / 0.8752 GB, free: 4.258 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.8387, allocations: 103.7 kB / 0.8753 GB, free: 4.156 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.8388, allocations: 89.52 kB / 0.8754 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00066/0.8395, allocations: 478.9 kB / 0.8759 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.8395, allocations: 0 / 0.8759 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8395, allocations: 0 / 0.8759 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.8395, allocations: 0 / 0.8759 GB, free: 3.594 MB / 0.6856 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.001003/0.8405, allocations: 0.6377 MB / 0.8765 GB, free: 2.91 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.8406, allocations: 8.031 kB / 0.8765 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.8416, allocations: 131.4 kB / 0.8766 GB, free: 2.773 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005156/0.8421, allocations: 314 kB / 0.8769 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.669e-05/0.8422, allocations: 62.19 kB / 0.877 GB, free: 2.363 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.89e-05/0.8423, allocations: 27.91 kB / 0.877 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006319/0.8429, allocations: 324.8 kB / 0.8773 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.843, allocations: 0 / 0.8773 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.103e-05/0.843, allocations: 15.95 kB / 0.8774 GB, free: 2 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.843, allocations: 4 kB / 0.8774 GB, free: 1.996 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005935/0.8436, allocations: 302.1 kB / 0.8776 GB, free: 1.699 MB / 0.6856 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.001871/0.8455, allocations: 1.102 MB / 0.8787 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/0.846, allocations: 230.5 kB / 0.8789 GB, free: 284 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004591/0.8465, allocations: 145.4 kB / 0.8791 GB, free: 120 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.8465, allocations: 34.52 kB / 0.8791 GB, free: 76 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/0.8465, allocations: 0 / 0.8791 GB, free: 76 kB / 0.6856 GB Notification: Performance of matching and sorting (n=21): time 0.001131/0.8476, allocations: 451.7 kB / 0.8795 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.8477, allocations: 63.39 kB / 0.8796 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.8481, allocations: 296.6 kB / 0.8799 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.8481, allocations: 29.7 kB / 0.8799 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.8482, allocations: 176.3 kB / 0.8801 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.259e-05/0.8483, allocations: 74.92 kB / 0.8802 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/0.8483, allocations: 0 / 0.8802 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.8485, allocations: 350.7 kB / 0.8805 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.8487, allocations: 107.9 kB / 0.8806 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.849, allocations: 165 kB / 0.8808 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.8493, allocations: 127.1 kB / 0.8809 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8493, allocations: 3.938 kB / 0.8809 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006411/0.8499, allocations: 337 kB / 0.8812 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.85, allocations: 7.953 kB / 0.8812 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.85, allocations: 0 / 0.8812 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.85, allocations: 4 kB / 0.8812 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.8503, allocations: 59.97 kB / 0.8813 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.8503, allocations: 0 / 0.8813 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.8506, allocations: 47.66 kB / 0.8813 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.8506, allocations: 12 kB / 0.8813 GB, free: 13.75 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (24): * Single equations (assignments): 24 * 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.0001734/0.8508, allocations: 145.8 kB / 0.8815 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.8509, allocations: 31.72 kB / 0.8815 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008527/0.8518, allocations: 388.3 kB / 0.8819 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.8518, allocations: 4 kB / 0.8819 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.8518, allocations: 0 / 0.8819 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.8518, allocations: 7.984 kB / 0.8819 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.8533, allocations: 0.8863 MB / 0.8827 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.8533, allocations: 7.984 kB / 0.8827 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.8536, allocations: 47.91 kB / 0.8828 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/0.8536, allocations: 4.219 kB / 0.8828 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.8536, allocations: 12 kB / 0.8828 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.8536, allocations: 7.938 kB / 0.8828 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.8537, allocations: 7.875 kB / 0.8828 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.8547, allocations: 0.706 MB / 0.8835 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.8549, allocations: 136.8 kB / 0.8836 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.8549, allocations: 4 kB / 0.8836 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.8552, allocations: 36.03 kB / 0.8837 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.8553, allocations: 27.86 kB / 0.8837 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.8553, allocations: 8 kB / 0.8837 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001984/0.8555, allocations: 223 kB / 0.8839 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8555, allocations: 4 kB / 0.8839 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005315/0.8561, allocations: 119.8 kB / 0.884 GB, free: 10.76 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (22): * Single equations (assignments): 22 * 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.0005575/0.8566, allocations: 216.3 kB / 0.8843 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005963/0.8573, allocations: 271.7 kB / 0.8845 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.8573, allocations: 4.062 kB / 0.8845 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.8576, allocations: 155.3 kB / 0.8847 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008121/0.8584, allocations: 158.1 kB / 0.8848 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.8598, allocations: 0.8661 MB / 0.8857 GB, free: 9.066 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.8602, allocations: 0.8031 MB / 0.8864 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000307/0.8606, allocations: 86.86 kB / 0.8865 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.8607, allocations: 39.42 kB / 0.8866 GB, free: 8.117 MB / 0.7012 GB Notification: Performance of SimCode: time 3.91e-07/0.8607, allocations: 3.938 kB / 0.8866 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of Templates: time 0.01256/0.8732, allocations: 7.065 MB / 0.8935 GB, free: 1.137 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) Environment - environmentSimulation: