Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density") translateModel(BuildingSystems.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001581/0.001581, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001904/0.001904, allocations: 187 kB / 17.34 MB, free: 5.742 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002311/0.002311, allocations: 291.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9433/0.9433, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 103.8 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.45, allocations: 86.98 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Density): time 0.1929/0.643, allocations: 185 MB / 0.9478 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.6538, allocations: 6.979 MB / 0.9546 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.6552, allocations: 27.81 kB / 0.9546 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.6566, allocations: 405.5 kB / 0.955 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004072/0.6607, allocations: 1.441 MB / 0.9564 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003497/0.6642, allocations: 1.161 MB / 0.9575 GB, free: 132 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.4733/1.138, allocations: 1.944 MB / 0.9594 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001888/1.139, allocations: 0.6558 MB / 0.9601 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002514/1.142, allocations: 0.8382 MB / 0.9609 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001901/1.144, allocations: 0.5961 MB / 0.9615 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001865/1.144, allocations: 70.34 kB / 0.9615 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004102/1.148, allocations: 1.927 MB / 0.9634 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004745/1.149, allocations: 293 kB / 0.9637 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007375/1.149, allocations: 429 kB / 0.9641 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004495/1.154, allocations: 1.774 MB / 0.9658 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.154, allocations: 0 / 0.9658 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/1.154, allocations: 0.875 kB / 0.9658 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.692e-05/1.154, allocations: 1.312 kB / 0.9658 GB, free: 3.309 MB / 0.7169 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.002444/1.157, allocations: 1.156 MB / 0.967 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/1.157, allocations: 14.38 kB / 0.967 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/1.159, allocations: 273.6 kB / 0.9672 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/1.16, allocations: 0.6105 MB / 0.9678 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/1.16, allocations: 40.56 kB / 0.9679 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-05/1.16, allocations: 59.73 kB / 0.9679 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/1.161, allocations: 0.6351 MB / 0.9686 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/1.161, allocations: 6.219 kB / 0.9686 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/1.161, allocations: 19.97 kB / 0.9686 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/1.161, allocations: 20.28 kB / 0.9686 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008407/1.162, allocations: 0.5212 MB / 0.9691 GB, free: 18.24 MB / 0.7325 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.003037/1.165, allocations: 2.456 MB / 0.9715 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006157/1.166, allocations: 365.9 kB / 0.9719 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/1.166, allocations: 238 kB / 0.9721 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005821/1.166, allocations: 307.4 kB / 0.9724 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/1.166, allocations: 37.64 kB / 0.9724 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 4.008e-06/1.167, allocations: 3.094 kB / 0.9724 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.001306/1.168, allocations: 0.6163 MB / 0.973 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/1.168, allocations: 56.5 kB / 0.9731 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/1.168, allocations: 0.4945 MB / 0.9736 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.767e-05/1.168, allocations: 37.7 kB / 0.9736 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/1.169, allocations: 328.7 kB / 0.9739 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/1.169, allocations: 135 kB / 0.974 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/1.169, allocations: 89.11 kB / 0.9741 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001554/1.169, allocations: 362.8 kB / 0.9745 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/1.169, allocations: 178.9 kB / 0.9746 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/1.17, allocations: 280.6 kB / 0.9749 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006228/1.17, allocations: 450.7 kB / 0.9753 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.17, allocations: 0.875 kB / 0.9753 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000886/1.171, allocations: 0.5292 MB / 0.9758 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.171, allocations: 5.719 kB / 0.9759 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.171, allocations: 2.75 kB / 0.9759 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/1.171, allocations: 6.125 kB / 0.9759 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/1.172, allocations: 131.3 kB / 0.976 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004065/1.172, allocations: 0.598 MB / 0.9766 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006294/1.173, allocations: 53.61 kB / 0.9766 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/1.173, allocations: 20.05 kB / 0.9766 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005429/1.174, allocations: 354.1 kB / 0.977 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003359/1.174, allocations: 282.5 kB / 0.9772 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005786/1.175, allocations: 452.1 kB / 0.9777 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.993e-06/1.175, allocations: 0 / 0.9777 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008026/1.175, allocations: 0.5192 MB / 0.9782 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/1.176, allocations: 9.406 kB / 0.9782 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/1.176, allocations: 7.344 kB / 0.9782 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.953e-06/1.176, allocations: 9.281 kB / 0.9782 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004631/1.176, allocations: 112.4 kB / 0.9783 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/1.176, allocations: 8.344 kB / 0.9783 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005654/1.177, allocations: 44.78 kB / 0.9784 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/1.177, allocations: 19.62 kB / 0.9784 GB, free: 14.48 MB / 0.7325 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.0002072/1.177, allocations: 206.4 kB / 0.9786 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/1.177, allocations: 64.84 kB / 0.9786 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000874/1.178, allocations: 487.3 kB / 0.9791 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/1.178, allocations: 7.75 kB / 0.9791 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/1.178, allocations: 3.094 kB / 0.9791 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007283/1.179, allocations: 0.6984 MB / 0.9798 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/1.18, allocations: 1.291 MB / 0.9811 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.18, allocations: 1.062 kB / 0.9811 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000598/1.181, allocations: 126.7 kB / 0.9812 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/1.181, allocations: 3.156 kB / 0.9812 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/1.181, allocations: 11.5 kB / 0.9812 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003693/1.181, allocations: 0.6001 MB / 0.9818 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.181, allocations: 2.531 kB / 0.9818 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/1.183, allocations: 0.7935 MB / 0.9826 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/1.183, allocations: 180 kB / 0.9827 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.142e-05/1.183, allocations: 15.97 kB / 0.9828 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/1.183, allocations: 22.91 kB / 0.9828 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.521e-05/1.183, allocations: 29.56 kB / 0.9828 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/1.183, allocations: 17.62 kB / 0.9828 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003666/1.184, allocations: 350.5 kB / 0.9832 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.184, allocations: 3.375 kB / 0.9832 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009761/1.185, allocations: 359.6 kB / 0.9835 GB, free: 12.31 MB / 0.7325 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.0005354/1.185, allocations: 210 kB / 0.9837 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001333/1.187, allocations: 0.6766 MB / 0.9844 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.187, allocations: 1 kB / 0.9844 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003511/1.187, allocations: 228.7 kB / 0.9846 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/1.189, allocations: 363.8 kB / 0.9849 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/1.191, allocations: 1.437 MB / 0.9863 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/1.191, allocations: 0.9451 MB / 0.9873 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/1.192, allocations: 57.41 kB / 0.9873 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of SimCode: time 1.032e-06/1.192, allocations: 0.5938 kB / 0.9873 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of Templates: time 0.01674/1.208, allocations: 13.01 MB / 1 GB, free: 9.785 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe 2>&1)