Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002421/0.00242, allocations: 355.9 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.276/1.276, allocations: 165.8 MB / 182.5 MB, free: 5.918 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.099/4.099, allocations: 410.7 MB / 0.5995 GB, free: 37.35 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001799/0.001799, allocations: 195.6 kB / 0.6662 GB, free: 2.023 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007623/0.0007626, allocations: 15.84 kB / 0.7423 GB, free: 73.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1194, allocations: 67.46 MB / 0.8081 GB, free: 17.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.542/0.6614, allocations: 151.1 MB / 0.9557 GB, free: 14.58 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.008599/0.6701, allocations: 5.733 MB / 0.9613 GB, free: 14.01 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005493/0.6706, allocations: 10.41 kB / 0.9613 GB, free: 14.01 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006849/0.6713, allocations: 170.8 kB / 0.9615 GB, free: 13.91 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.6735, allocations: 0.6056 MB / 0.9621 GB, free: 13.62 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.675, allocations: 357.3 kB / 0.9624 GB, free: 13.54 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.6764, allocations: 0.8568 MB / 0.9633 GB, free: 13.25 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004499/0.6769, allocations: 207.6 kB / 0.9635 GB, free: 13.18 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.6781, allocations: 429.2 kB / 0.9639 GB, free: 13.02 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000455/0.6786, allocations: 268.2 kB / 0.9641 GB, free: 12.92 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 4.752e-05/0.6787, allocations: 13.44 kB / 0.9641 GB, free: 12.92 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006331/0.6793, allocations: 193.5 kB / 0.9643 GB, free: 12.87 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.6795, allocations: 90.8 kB / 0.9644 GB, free: 12.83 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.6796, allocations: 81.8 kB / 0.9645 GB, free: 12.79 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004924/0.6801, allocations: 319.8 kB / 0.9648 GB, free: 12.64 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.458e-06/0.6801, allocations: 1.781 kB / 0.9648 GB, free: 12.64 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.912e-06/0.6801, allocations: 0 / 0.9648 GB, free: 12.64 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.6802, allocations: 4 kB / 0.9648 GB, free: 12.64 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00093/0.6811, allocations: 0.5611 MB / 0.9654 GB, free: 12.15 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.6812, allocations: 10.88 kB / 0.9654 GB, free: 12.15 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003695/0.6815, allocations: 60.97 kB / 0.9654 GB, free: 12.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.6821, allocations: 304 kB / 0.9657 GB, free: 11.86 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.6821, allocations: 17.91 kB / 0.9657 GB, free: 11.86 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/0.6822, allocations: 30.03 kB / 0.9658 GB, free: 11.86 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006558/0.6828, allocations: 317.8 kB / 0.9661 GB, free: 11.71 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.6829, allocations: 6.844 kB / 0.9661 GB, free: 11.71 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.6829, allocations: 8.438 kB / 0.9661 GB, free: 11.71 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.664e-06/0.6829, allocations: 6.156 kB / 0.9661 GB, free: 11.71 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005285/0.6835, allocations: 208.4 kB / 0.9663 GB, free: 11.68 MB / 474.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.002149/0.6856, allocations: 1.543 MB / 0.9678 GB, free: 10.37 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.686, allocations: 123.9 kB / 0.9679 GB, free: 10.33 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.6863, allocations: 97.58 kB / 0.968 GB, free: 10.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007177/0.687, allocations: 313.8 kB / 0.9683 GB, free: 10 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.6871, allocations: 38.5 kB / 0.9683 GB, free: 9.953 MB / 474.7 MB Notification: Performance of pre-optimization done (n=13): time 4.061e-06/0.6871, allocations: 0 / 0.9683 GB, free: 9.953 MB / 474.7 MB Notification: Performance of matching and sorting (n=13): time 0.001005/0.6881, allocations: 294.4 kB / 0.9686 GB, free: 9.859 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.6882, allocations: 53.53 kB / 0.9687 GB, free: 9.797 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004119/0.6886, allocations: 306 kB / 0.969 GB, free: 9.645 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.6886, allocations: 27.83 kB / 0.969 GB, free: 9.613 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.6888, allocations: 185 kB / 0.9692 GB, free: 9.492 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.018e-05/0.6889, allocations: 44.27 kB / 0.9692 GB, free: 9.461 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.689, allocations: 7.188 kB / 0.9692 GB, free: 9.457 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.6891, allocations: 344 kB / 0.9695 GB, free: 9.129 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.6894, allocations: 62.11 kB / 0.9696 GB, free: 9.117 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.6896, allocations: 117.6 kB / 0.9697 GB, free: 9.051 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.6898, allocations: 75.8 kB / 0.9698 GB, free: 9.039 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6899, allocations: 0 / 0.9698 GB, free: 9.039 MB / 474.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005914/0.6905, allocations: 230.7 kB / 0.97 GB, free: 8.957 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.6905, allocations: 5.875 kB / 0.97 GB, free: 8.957 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.893e-06/0.6905, allocations: 3.984 kB / 0.97 GB, free: 8.953 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.6906, allocations: 3.344 kB / 0.97 GB, free: 8.953 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.6908, allocations: 44.2 kB / 0.9701 GB, free: 8.941 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.63e-06/0.6908, allocations: 2.969 kB / 0.9701 GB, free: 8.941 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.6911, allocations: 36.8 kB / 0.9701 GB, free: 8.922 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.6911, allocations: 7.844 kB / 0.9701 GB, free: 8.922 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0002087/0.6914, allocations: 156.7 kB / 0.9703 GB, free: 8.793 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.275e-05/0.6914, allocations: 29.5 kB / 0.9703 GB, free: 8.777 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005591/0.692, allocations: 213.3 kB / 0.9705 GB, free: 8.703 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.236e-06/0.692, allocations: 6.312 kB / 0.9705 GB, free: 8.703 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.385e-06/0.6921, allocations: 0 / 0.9705 GB, free: 8.703 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.841e-06/0.6921, allocations: 7.984 kB / 0.9705 GB, free: 8.695 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.6935, allocations: 0.6952 MB / 0.9712 GB, free: 8.219 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.127e-06/0.6935, allocations: 0 / 0.9712 GB, free: 8.219 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.6937, allocations: 30.7 kB / 0.9712 GB, free: 8.215 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.6937, allocations: 2.5 kB / 0.9712 GB, free: 8.215 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.6937, allocations: 6.516 kB / 0.9712 GB, free: 8.211 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.263e-06/0.6937, allocations: 3.156 kB / 0.9712 GB, free: 8.211 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.866e-06/0.6938, allocations: 10.84 kB / 0.9712 GB, free: 8.203 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005902/0.6944, allocations: 335.9 kB / 0.9715 GB, free: 7.977 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.6945, allocations: 117.2 kB / 0.9717 GB, free: 7.863 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.6946, allocations: 7.594 kB / 0.9717 GB, free: 7.863 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.6949, allocations: 24.97 kB / 0.9717 GB, free: 7.852 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.695, allocations: 19.75 kB / 0.9717 GB, free: 7.844 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.695, allocations: 6.453 kB / 0.9717 GB, free: 7.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002834/0.6953, allocations: 226.6 kB / 0.9719 GB, free: 7.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.48e-07/0.6953, allocations: 0 / 0.9719 GB, free: 7.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005027/0.6958, allocations: 74.47 kB / 0.972 GB, free: 7.719 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 (13): * Single equations (assignments): 13 * 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.0004027/0.6962, allocations: 161 kB / 0.9722 GB, free: 7.609 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005008/0.6967, allocations: 163.9 kB / 0.9723 GB, free: 7.574 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.509e-06/0.6968, allocations: 0 / 0.9723 GB, free: 7.574 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.697, allocations: 95.38 kB / 0.9724 GB, free: 7.547 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.6981, allocations: 137.1 kB / 0.9725 GB, free: 7.508 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.6992, allocations: 0.6283 MB / 0.9731 GB, free: 7.055 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.6998, allocations: 0.7898 MB / 0.9739 GB, free: 6.309 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003134/0.7001, allocations: 66.45 kB / 0.974 GB, free: 6.281 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.043e-05/0.7002, allocations: 24.12 kB / 0.974 GB, free: 6.273 MB / 474.7 MB Notification: Performance of SimCode: time 1.828e-06/0.7002, allocations: 0 / 0.974 GB, free: 6.273 MB / 474.7 MB Notification: Performance of Templates: time 0.01259/0.7128, allocations: 4.722 MB / 0.9786 GB, free: 3.941 MB / 474.7 MB