Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001386/0.001386, allocations: 185.4 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7872/0.7872, allocations: 82.93 MB / 99.42 MB, free: 3.242 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.4 MB / 325.4 MB, free: 4.297 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 90.42 kB / 393.6 MB, free: 68 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004542/0.0004545, allocations: 12 kB / 471.5 MB, free: 66.73 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08997/0.09045, allocations: 67.45 MB / 0.5263 GB, free: 15.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5218/0.6123, allocations: 141.8 MB / 0.6648 GB, free: 13.58 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.008779/0.6212, allocations: 5.257 MB / 0.67 GB, free: 9.414 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005184/0.6217, allocations: 20.25 kB / 0.67 GB, free: 9.402 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007455/0.6225, allocations: 194.1 kB / 0.6702 GB, free: 9.242 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002404/0.6249, allocations: 0.7017 MB / 0.6708 GB, free: 8.668 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.6268, allocations: 0.494 MB / 0.6713 GB, free: 8.328 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008384/0.6277, allocations: 456 kB / 0.6718 GB, free: 8.039 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004584/0.6282, allocations: 234.6 kB / 0.672 GB, free: 7.906 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.6295, allocations: 0.4936 MB / 0.6725 GB, free: 7.578 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008192/0.6304, allocations: 335 kB / 0.6728 GB, free: 7.387 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.02e-05/0.6304, allocations: 16.19 kB / 0.6728 GB, free: 7.387 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.6321, allocations: 0.5482 MB / 0.6733 GB, free: 7.148 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.6322, allocations: 96.2 kB / 0.6734 GB, free: 7.09 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.6324, allocations: 91.05 kB / 0.6735 GB, free: 7.027 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008163/0.6332, allocations: 463 kB / 0.674 GB, free: 6.762 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.851e-06/0.6332, allocations: 0 / 0.674 GB, free: 6.762 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.259e-06/0.6332, allocations: 0 / 0.674 GB, free: 6.762 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.027e-06/0.6332, allocations: 2.875 kB / 0.674 GB, free: 6.762 MB / 458.7 MB 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.001032/0.6343, allocations: 0.6233 MB / 0.6746 GB, free: 6.199 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.6343, allocations: 10.84 kB / 0.6746 GB, free: 6.199 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.6357, allocations: 137.1 kB / 0.6747 GB, free: 6.133 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005231/0.6362, allocations: 309.2 kB / 0.675 GB, free: 5.84 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.6363, allocations: 51.16 kB / 0.6751 GB, free: 5.797 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/0.6364, allocations: 25.66 kB / 0.6751 GB, free: 5.789 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008316/0.6372, allocations: 372.2 kB / 0.6754 GB, free: 5.551 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.6373, allocations: 0 / 0.6754 GB, free: 5.551 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.673e-05/0.6373, allocations: 12.28 kB / 0.6754 GB, free: 5.543 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.6373, allocations: 13.59 kB / 0.6755 GB, free: 5.535 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007087/0.6381, allocations: 280.7 kB / 0.6757 GB, free: 5.402 MB / 458.7 MB 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.0024/0.6405, allocations: 1.483 MB / 0.6772 GB, free: 4.051 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000602/0.6411, allocations: 166.5 kB / 0.6773 GB, free: 3.957 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004797/0.6416, allocations: 154.9 kB / 0.6775 GB, free: 3.828 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.6417, allocations: 30.56 kB / 0.6775 GB, free: 3.789 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 2.795e-06/0.6417, allocations: 0 / 0.6775 GB, free: 3.789 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.001288/0.643, allocations: 376.3 kB / 0.6779 GB, free: 3.605 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.643, allocations: 55.36 kB / 0.6779 GB, free: 3.539 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004271/0.6435, allocations: 318.4 kB / 0.6782 GB, free: 3.324 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.021e-05/0.6435, allocations: 32.61 kB / 0.6783 GB, free: 3.289 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.6437, allocations: 180.2 kB / 0.6784 GB, free: 3.125 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.931e-05/0.6438, allocations: 62.44 kB / 0.6785 GB, free: 3.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.6438, allocations: 4 kB / 0.6785 GB, free: 3.066 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.644, allocations: 338.2 kB / 0.6788 GB, free: 2.734 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.6443, allocations: 89.56 kB / 0.6789 GB, free: 2.695 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.6447, allocations: 177.9 kB / 0.6791 GB, free: 2.559 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.645, allocations: 108.8 kB / 0.6792 GB, free: 2.508 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.59e-06/0.645, allocations: 0 / 0.6792 GB, free: 2.508 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008982/0.6459, allocations: 305.7 kB / 0.6795 GB, free: 2.344 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.6459, allocations: 5.719 kB / 0.6795 GB, free: 2.344 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.646, allocations: 6.547 kB / 0.6795 GB, free: 2.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.646, allocations: 4.875 kB / 0.6795 GB, free: 2.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.6463, allocations: 49.44 kB / 0.6795 GB, free: 2.324 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.6463, allocations: 2.969 kB / 0.6795 GB, free: 2.324 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.6467, allocations: 41.72 kB / 0.6796 GB, free: 2.301 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.6467, allocations: 9.375 kB / 0.6796 GB, free: 2.301 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0002411/0.647, allocations: 154 kB / 0.6797 GB, free: 2.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.6472, allocations: 32.09 kB / 0.6798 GB, free: 2.141 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.6482, allocations: 336.5 kB / 0.6801 GB, free: 1.871 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.439e-06/0.6482, allocations: 4.828 kB / 0.6801 GB, free: 1.867 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.6482, allocations: 0 / 0.6801 GB, free: 1.867 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.871e-06/0.6483, allocations: 7.984 kB / 0.6801 GB, free: 1.859 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.6501, allocations: 0.8085 MB / 0.6809 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.6501, allocations: 7.938 kB / 0.6809 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.6504, allocations: 36.08 kB / 0.6809 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.6504, allocations: 9.625 kB / 0.6809 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.6505, allocations: 7.984 kB / 0.6809 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.135e-06/0.6505, allocations: 0 / 0.6809 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.496e-06/0.6505, allocations: 7.938 kB / 0.681 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009435/0.6514, allocations: 0.4932 MB / 0.6814 GB, free: 340 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.6517, allocations: 132.6 kB / 0.6816 GB, free: 188 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.204e-05/0.6518, allocations: 4 kB / 0.6816 GB, free: 184 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.6521, allocations: 31.91 kB / 0.6816 GB, free: 152 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.6522, allocations: 15.94 kB / 0.6816 GB, free: 136 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.6523, allocations: 23.92 kB / 0.6816 GB, free: 112 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003321/0.6526, allocations: 219.1 kB / 0.6818 GB, free: 15.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.96e-07/0.6526, allocations: 0 / 0.6818 GB, free: 15.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000684/0.6533, allocations: 115.8 kB / 0.682 GB, free: 15.79 MB / 474.7 MB 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.0005889/0.6539, allocations: 226 kB / 0.6822 GB, free: 15.56 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007127/0.6547, allocations: 231.2 kB / 0.6824 GB, free: 15.34 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.906e-06/0.6547, allocations: 0 / 0.6824 GB, free: 15.34 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.655, allocations: 120.5 kB / 0.6825 GB, free: 15.22 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.6561, allocations: 161 kB / 0.6827 GB, free: 15.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.6575, allocations: 0.6982 MB / 0.6833 GB, free: 14.32 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/0.658, allocations: 0.7914 MB / 0.6841 GB, free: 13.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004709/0.6585, allocations: 83.05 kB / 0.6842 GB, free: 13.42 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.6587, allocations: 35.42 kB / 0.6842 GB, free: 13.39 MB / 474.7 MB Notification: Performance of SimCode: time 1.593e-06/0.6587, allocations: 0 / 0.6842 GB, free: 13.39 MB / 474.7 MB Notification: Performance of Templates: time 0.01758/0.6763, allocations: 6.842 MB / 0.6909 GB, free: 6.617 MB / 474.7 MB