Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density") translateModel(IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 106.8 kB / 16.52 MB, free: 6.727 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.001306/0.001306, allocations: 195.2 kB / 17.45 MB, free: 6.051 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7105/0.7105, allocations: 115.3 MB / 406.6 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 67.91 kB / 493.6 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3843, allocations: 76.17 MB / 0.5564 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.197/0.5814, allocations: 182.8 MB / 0.7349 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01055/0.5919, allocations: 7.062 MB / 0.7418 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.5933, allocations: 27.81 kB / 0.7418 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.5945, allocations: 334.2 kB / 0.7421 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003628/0.5982, allocations: 1.362 MB / 0.7435 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003007/0.6012, allocations: 1.05 MB / 0.7445 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003138/0.6043, allocations: 2.722 MB / 0.7471 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008638/0.6052, allocations: 0.5488 MB / 0.7477 GB, free: 192 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3637/0.969, allocations: 0.7199 MB / 0.7484 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/0.971, allocations: 0.6221 MB / 0.749 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.9712, allocations: 39.88 kB / 0.749 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004914/0.9762, allocations: 2.192 MB / 0.7512 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005251/0.9767, allocations: 265.6 kB / 0.7514 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008079/0.9775, allocations: 394.7 kB / 0.7518 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002885/0.9804, allocations: 1.274 MB / 0.753 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.9804, allocations: 0.6562 kB / 0.753 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9804, allocations: 4.969 kB / 0.753 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.744e-05/0.9805, allocations: 1.625 kB / 0.753 GB, free: 3.586 MB / 0.5762 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.00281/0.9833, allocations: 1.162 MB / 0.7542 GB, free: 18.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.9833, allocations: 13.78 kB / 0.7542 GB, free: 18.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002123/0.9855, allocations: 266.8 kB / 0.7544 GB, free: 18.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.9866, allocations: 0.5849 MB / 0.755 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.522e-05/0.9867, allocations: 41.62 kB / 0.7551 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.9868, allocations: 53.84 kB / 0.7551 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.9881, allocations: 0.6337 MB / 0.7557 GB, free: 18.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.9882, allocations: 1.875 kB / 0.7557 GB, free: 18.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.742e-05/0.9882, allocations: 22.62 kB / 0.7557 GB, free: 18.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.54e-05/0.9883, allocations: 23.52 kB / 0.7558 GB, free: 18.53 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.9894, allocations: 0.5184 MB / 0.7563 GB, free: 18.52 MB / 0.5919 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.003845/0.9932, allocations: 2.451 MB / 0.7587 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007524/0.994, allocations: 365 kB / 0.759 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/0.9945, allocations: 237.2 kB / 0.7592 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006554/0.9952, allocations: 311.7 kB / 0.7595 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.9952, allocations: 40.05 kB / 0.7596 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 2.254e-06/0.9952, allocations: 0.8125 kB / 0.7596 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001632/0.9969, allocations: 0.6157 MB / 0.7602 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.9969, allocations: 56 kB / 0.7602 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007783/0.9977, allocations: 0.5017 MB / 0.7607 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.486e-05/0.9978, allocations: 36.02 kB / 0.7608 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.998, allocations: 323.7 kB / 0.7611 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.9982, allocations: 141.2 kB / 0.7612 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.9984, allocations: 91.69 kB / 0.7613 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.9986, allocations: 364.5 kB / 0.7616 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.9989, allocations: 174.4 kB / 0.7618 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004422/0.9994, allocations: 284 kB / 0.7621 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000751/1, allocations: 450.8 kB / 0.7625 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1, allocations: 1.094 kB / 0.7625 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00103/1.001, allocations: 0.5229 MB / 0.763 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/1.001, allocations: 6.406 kB / 0.763 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.001, allocations: 2.906 kB / 0.763 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/1.001, allocations: 6.219 kB / 0.763 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007585/1.002, allocations: 137.2 kB / 0.7632 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003967/1.002, allocations: 0.593 MB / 0.7637 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008086/1.003, allocations: 85.56 kB / 0.7638 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/1.003, allocations: 19.05 kB / 0.7638 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000599/1.004, allocations: 358.5 kB / 0.7642 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004006/1.004, allocations: 280.5 kB / 0.7645 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007291/1.005, allocations: 451.2 kB / 0.7649 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.757e-06/1.005, allocations: 1.688 kB / 0.7649 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009818/1.006, allocations: 0.5231 MB / 0.7654 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.006, allocations: 12.2 kB / 0.7654 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/1.006, allocations: 6 kB / 0.7654 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/1.006, allocations: 4.062 kB / 0.7654 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/1.007, allocations: 114.4 kB / 0.7655 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/1.007, allocations: 8.469 kB / 0.7655 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006889/1.007, allocations: 72.91 kB / 0.7656 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/1.007, allocations: 18.31 kB / 0.7656 GB, free: 14.68 MB / 0.5919 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002145/1.008, allocations: 211.8 kB / 0.7658 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/1.008, allocations: 67.52 kB / 0.7659 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009457/1.009, allocations: 485.1 kB / 0.7663 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.009, allocations: 4.438 kB / 0.7664 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.009, allocations: 1.203 kB / 0.7664 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008461/1.01, allocations: 0.7092 MB / 0.767 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/1.012, allocations: 1.278 MB / 0.7683 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.012, allocations: 2.375 kB / 0.7683 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/1.012, allocations: 119.4 kB / 0.7684 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/1.012, allocations: 3.188 kB / 0.7684 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/1.013, allocations: 11.56 kB / 0.7684 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003568/1.013, allocations: 0.5994 MB / 0.769 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.013, allocations: 2.375 kB / 0.769 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/1.014, allocations: 0.7961 MB / 0.7698 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/1.014, allocations: 189.9 kB / 0.77 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.014e-05/1.015, allocations: 11.09 kB / 0.77 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000494/1.015, allocations: 49.91 kB / 0.77 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/1.015, allocations: 26.83 kB / 0.7701 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/1.015, allocations: 18.72 kB / 0.7701 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004519/1.016, allocations: 350.1 kB / 0.7704 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/1.016, allocations: 1.031 kB / 0.7704 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001253/1.017, allocations: 362.5 kB / 0.7708 GB, free: 12.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005294/1.017, allocations: 212.2 kB / 0.771 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001596/1.019, allocations: 0.6601 MB / 0.7716 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/1.019, allocations: 0.9062 kB / 0.7716 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004459/1.02, allocations: 229.3 kB / 0.7718 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/1.021, allocations: 356 kB / 0.7722 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/1.024, allocations: 1.692 MB / 0.7738 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006511/1.025, allocations: 0.9483 MB / 0.7747 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/1.025, allocations: 56.23 kB / 0.7748 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of SimCode: time 8.02e-07/1.025, allocations: 0 / 0.7748 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of Templates: time 0.0212/1.046, allocations: 13.02 MB / 0.7875 GB, free: 9.609 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)