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.001092/0.001092, allocations: 104.8 kB / 16.27 MB, free: 5.934 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.001132/0.001132, allocations: 191.6 kB / 17.2 MB, free: 5.574 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.365/1.365, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7406/0.7406, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.91 kB / 0.4911 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3752, allocations: 77.92 MB / 0.5672 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.2074/0.5826, allocations: 185 MB / 0.7479 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3554/0.938, allocations: 6.964 MB / 0.7547 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.9391, allocations: 27.91 kB / 0.7547 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.9402, allocations: 399.4 kB / 0.7551 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003657/0.9439, allocations: 1.446 MB / 0.7565 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003691/0.9476, allocations: 1.158 MB / 0.7576 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003459/0.9511, allocations: 1.946 MB / 0.7595 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.9522, allocations: 0.6573 MB / 0.7602 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.9541, allocations: 0.8197 MB / 0.761 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.9554, allocations: 0.596 MB / 0.7616 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.9556, allocations: 69.3 kB / 0.7616 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00456/0.9601, allocations: 1.928 MB / 0.7635 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004315/0.9606, allocations: 289.8 kB / 0.7638 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006418/0.9612, allocations: 435 kB / 0.7642 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003296/0.9645, allocations: 1.747 MB / 0.7659 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.9645, allocations: 1.188 kB / 0.7659 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9646, allocations: 0.5625 kB / 0.7659 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.806e-05/0.9646, allocations: 0 / 0.7659 GB, free: 1.539 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.001936/0.9665, allocations: 1.163 MB / 0.767 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.9666, allocations: 10.31 kB / 0.7671 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.9684, allocations: 273.2 kB / 0.7673 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000881/0.9693, allocations: 0.5764 MB / 0.7679 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.9694, allocations: 42.94 kB / 0.7679 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.9695, allocations: 57.12 kB / 0.768 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.9706, allocations: 0.6362 MB / 0.7686 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.9706, allocations: 1.031 kB / 0.7686 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/0.9707, allocations: 22.28 kB / 0.7686 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/0.9707, allocations: 20.5 kB / 0.7686 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009697/0.9717, allocations: 0.5227 MB / 0.7691 GB, free: 16.46 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.003056/0.9748, allocations: 2.477 MB / 0.7716 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006826/0.9755, allocations: 358.1 kB / 0.7719 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003983/0.9759, allocations: 235.8 kB / 0.7721 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005804/0.9765, allocations: 309.7 kB / 0.7724 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.9765, allocations: 37.58 kB / 0.7725 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 2.264e-06/0.9765, allocations: 2.109 kB / 0.7725 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001457/0.978, allocations: 0.6228 MB / 0.7731 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.978, allocations: 55.59 kB / 0.7731 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006369/0.9787, allocations: 0.4935 MB / 0.7736 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.9787, allocations: 35.95 kB / 0.7736 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.979, allocations: 324.4 kB / 0.774 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.9791, allocations: 141.2 kB / 0.7741 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.9792, allocations: 91.12 kB / 0.7742 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.9794, allocations: 366 kB / 0.7745 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.9797, allocations: 176.4 kB / 0.7747 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.9801, allocations: 281.7 kB / 0.775 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006534/0.9807, allocations: 456 kB / 0.7754 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.9808, allocations: 1.125 kB / 0.7754 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008022/0.9816, allocations: 0.5214 MB / 0.7759 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.9816, allocations: 8.781 kB / 0.7759 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.9816, allocations: 6.5 kB / 0.7759 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.9816, allocations: 8.969 kB / 0.7759 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006885/0.9823, allocations: 128.1 kB / 0.776 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000352/0.9827, allocations: 0.5939 MB / 0.7766 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005963/0.9833, allocations: 60 kB / 0.7767 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.9833, allocations: 19.3 kB / 0.7767 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004954/0.9838, allocations: 348 kB / 0.777 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003644/0.9842, allocations: 285.4 kB / 0.7773 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006392/0.9849, allocations: 447.9 kB / 0.7777 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.724e-06/0.9849, allocations: 0 / 0.7777 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0007813/0.9857, allocations: 0.5256 MB / 0.7782 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.9857, allocations: 8.406 kB / 0.7783 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.9857, allocations: 3.875 kB / 0.7783 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-06/0.9857, allocations: 4.938 kB / 0.7783 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004659/0.9862, allocations: 115.2 kB / 0.7784 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.9862, allocations: 7.859 kB / 0.7784 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005136/0.9867, allocations: 42.22 kB / 0.7784 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.9868, allocations: 16.78 kB / 0.7784 GB, free: 12.66 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.0001629/0.9869, allocations: 218.1 kB / 0.7786 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.987, allocations: 61.75 kB / 0.7787 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000809/0.9878, allocations: 487.3 kB / 0.7792 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.9879, allocations: 8.25 kB / 0.7792 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.9879, allocations: 0 / 0.7792 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008248/0.9887, allocations: 0.7113 MB / 0.7799 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.9908, allocations: 1.278 MB / 0.7811 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.9908, allocations: 3.281 kB / 0.7811 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006138/0.9915, allocations: 123.4 kB / 0.7812 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/0.9915, allocations: 5.969 kB / 0.7812 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.9915, allocations: 11.56 kB / 0.7813 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00033/0.9919, allocations: 0.5987 MB / 0.7818 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.9919, allocations: 3.25 kB / 0.7818 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.993, allocations: 0.7985 MB / 0.7826 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.9933, allocations: 186 kB / 0.7828 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.162e-05/0.9934, allocations: 10.94 kB / 0.7828 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004147/0.9938, allocations: 25.08 kB / 0.7828 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.9939, allocations: 31.41 kB / 0.7829 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.9939, allocations: 14.5 kB / 0.7829 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000343/0.9943, allocations: 351.9 kB / 0.7832 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9943, allocations: 0 / 0.7832 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009862/0.9953, allocations: 370.1 kB / 0.7836 GB, free: 10.48 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.000458/0.9957, allocations: 198.8 kB / 0.7838 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00143/0.9972, allocations: 0.715 MB / 0.7845 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9972, allocations: 0 / 0.7845 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.9975, allocations: 218.5 kB / 0.7847 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.9992, allocations: 359.2 kB / 0.785 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/1.001, allocations: 1.411 MB / 0.7864 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/1.002, allocations: 0.944 MB / 0.7873 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007211/1.003, allocations: 201.5 kB / 0.7875 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/1.003, allocations: 56.28 kB / 0.7876 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/1.003, allocations: 0 / 0.7876 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of Templates: time 0.02136/1.024, allocations: 12.41 MB / 0.7997 GB, free: 6.949 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)