Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Sensors.Examples.Density.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.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 186.9 kB / 15.77 MB, free: 6.375 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.8435/0.8435, allocations: 82.93 MB / 99.42 MB, free: 2.234 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.049/2.049, allocations: 205.4 MB / 325.4 MB, free: 6.539 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001104, allocations: 91.44 kB / 393.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004954/0.0004957, allocations: 16 kB / 471.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.385, allocations: 67.43 MB / 0.5263 GB, free: 55.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.2166/0.6016, allocations: 153.9 MB / 0.6767 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01292/0.6146, allocations: 6.486 MB / 0.683 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.6157, allocations: 23.81 kB / 0.683 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.6174, allocations: 418.1 kB / 0.6834 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.006687/0.6241, allocations: 1.294 MB / 0.6847 GB, free: 348 kB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.006365/0.6305, allocations: 1.025 MB / 0.6857 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003888/0.6344, allocations: 1.133 MB / 0.6868 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001598/0.6361, allocations: 0.4923 MB / 0.6873 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.6378, allocations: 0.6113 MB / 0.6879 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008005/0.6387, allocations: 386.5 kB / 0.6883 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.6388, allocations: 28 kB / 0.6883 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002824/0.6417, allocations: 0.8775 MB / 0.6891 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004334/0.6421, allocations: 231.3 kB / 0.6894 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003322/0.6425, allocations: 177.3 kB / 0.6895 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002125/0.6446, allocations: 1.009 MB / 0.6905 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.56e-06/0.6447, allocations: 0 / 0.6905 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.723e-06/0.6447, allocations: 3.938 kB / 0.6905 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.6447, allocations: 0 / 0.6905 GB, free: 10.37 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002057/0.6468, allocations: 0.9855 MB / 0.6915 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.6468, allocations: 12.03 kB / 0.6915 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002588/0.6494, allocations: 274.7 kB / 0.6918 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.6509, allocations: 0.5408 MB / 0.6923 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.37e-05/0.651, allocations: 41.31 kB / 0.6923 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.6511, allocations: 59.98 kB / 0.6924 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.6527, allocations: 0.64 MB / 0.693 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.6527, allocations: 0 / 0.693 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.576e-05/0.6528, allocations: 20 kB / 0.693 GB, free: 7.695 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-05/0.6529, allocations: 21.31 kB / 0.693 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.6543, allocations: 0.5282 MB / 0.6936 GB, free: 7.145 MB / 0.5105 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.004502/0.6588, allocations: 2.441 MB / 0.6959 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009422/0.6598, allocations: 399.6 kB / 0.6963 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004599/0.6603, allocations: 145.3 kB / 0.6965 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.6603, allocations: 38.89 kB / 0.6965 GB, free: 3.887 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 3.739e-06/0.6604, allocations: 0 / 0.6965 GB, free: 3.887 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.001991/0.6624, allocations: 0.6262 MB / 0.6971 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.6624, allocations: 55.41 kB / 0.6972 GB, free: 3.188 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008568/0.6633, allocations: 0.4948 MB / 0.6976 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.013e-05/0.6634, allocations: 33.7 kB / 0.6977 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.6637, allocations: 324.4 kB / 0.698 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.6639, allocations: 142 kB / 0.6981 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.664, allocations: 4 kB / 0.6981 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002202/0.6642, allocations: 366.8 kB / 0.6985 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004853/0.6647, allocations: 168.8 kB / 0.6986 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005958/0.6653, allocations: 288.3 kB / 0.6989 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/0.6659, allocations: 215.8 kB / 0.6991 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.497e-06/0.6659, allocations: 0 / 0.6991 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001393/0.6673, allocations: 0.5355 MB / 0.6996 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.4374/1.105, allocations: 0.8672 MB / 0.7005 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/1.105, allocations: 2.391 kB / 0.7005 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/1.105, allocations: 9.969 kB / 0.7005 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/1.106, allocations: 143.4 kB / 0.7006 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003628/1.106, allocations: 0.5978 MB / 0.7012 GB, free: 161.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008398/1.107, allocations: 73.05 kB / 0.7013 GB, free: 161.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.245e-05/1.107, allocations: 18.78 kB / 0.7013 GB, free: 161.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.107, allocations: 3.812 kB / 0.7013 GB, free: 161.3 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001182/1.108, allocations: 458.4 kB / 0.7017 GB, free: 161.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.24e-06/1.109, allocations: 5.844 kB / 0.7018 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/1.109, allocations: 9.109 kB / 0.7018 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007096/1.109, allocations: 127 kB / 0.7019 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/1.109, allocations: 8.75 kB / 0.7019 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008219/1.11, allocations: 72.7 kB / 0.702 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/1.11, allocations: 18.28 kB / 0.702 GB, free: 161.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004654/1.111, allocations: 305.9 kB / 0.7023 GB, free: 161 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/1.111, allocations: 62.47 kB / 0.7023 GB, free: 161 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/1.112, allocations: 494 kB / 0.7028 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.732e-06/1.112, allocations: 3.906 kB / 0.7028 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.402e-06/1.112, allocations: 4.625 kB / 0.7028 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001023/1.113, allocations: 0.7157 MB / 0.7035 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002847/1.116, allocations: 1.287 MB / 0.7048 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.378e-06/1.116, allocations: 4.938 kB / 0.7048 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009155/1.117, allocations: 139.1 kB / 0.7049 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/1.117, allocations: 5.016 kB / 0.7049 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/1.117, allocations: 9.375 kB / 0.7049 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002836/1.117, allocations: 0.5918 MB / 0.7055 GB, free: 159 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.966e-06/1.117, allocations: 11.44 kB / 0.7055 GB, free: 159 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/1.119, allocations: 0.919 MB / 0.7064 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/1.12, allocations: 177.3 kB / 0.7066 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/1.12, allocations: 13.17 kB / 0.7066 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006654/1.12, allocations: 49.42 kB / 0.7066 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-05/1.121, allocations: 35.34 kB / 0.7067 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/1.121, allocations: 16.31 kB / 0.7067 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005397/1.121, allocations: 344.2 kB / 0.707 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.04e-07/1.121, allocations: 0 / 0.707 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001304/1.122, allocations: 360 kB / 0.7074 GB, free: 158.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005127/1.123, allocations: 211.9 kB / 0.7076 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001922/1.125, allocations: 0.687 MB / 0.7082 GB, free: 157.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.994e-06/1.125, allocations: 0 / 0.7082 GB, free: 157.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006258/1.126, allocations: 222.1 kB / 0.7084 GB, free: 157.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/1.128, allocations: 350.6 kB / 0.7088 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/1.131, allocations: 1.714 MB / 0.7104 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/1.131, allocations: 0.9608 MB / 0.7114 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001131/1.132, allocations: 195.8 kB / 0.7116 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/1.133, allocations: 53.05 kB / 0.7116 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.784e-06/1.133, allocations: 3.734 kB / 0.7116 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.02864/1.161, allocations: 11.54 MB / 0.7229 GB, free: 151.9 MB / 0.5105 GB