Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.621/1.621, allocations: 285.4 MB / 298 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001708/0.001708, allocations: 176.8 kB / 366.4 MB, free: 2.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.1 MB / 0.6248 GB, free: 7.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008881/0.0008882, allocations: 90.66 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.51e-05/4.528e-05, allocations: 11.98 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7749/0.7749, allocations: 115.3 MB / 0.9709 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.226/6.001, allocations: 2.08 GB / 3.051 GB, free: 58.73 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/6.002, allocations: 89.69 kB / 3.051 GB, free: 58.64 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.293/8.295, allocations: 483.2 MB / 3.523 GB, free: 232.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.084e-06/8.295, allocations: 3.688 kB / 3.523 GB, free: 232.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001362/8.295, allocations: 26.53 kB / 3.523 GB, free: 232.3 MB / 0.948 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.003722/8.299, allocations: 1.026 MB / 3.524 GB, free: 231.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/8.299, allocations: 9.531 kB / 3.524 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002572/8.301, allocations: 264.3 kB / 3.524 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/8.304, allocations: 0.6066 MB / 3.525 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.468e-05/8.304, allocations: 46.22 kB / 3.525 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/8.304, allocations: 56.73 kB / 3.525 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/8.305, allocations: 0.5889 MB / 3.525 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/8.306, allocations: 0 / 3.525 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-05/8.306, allocations: 22.44 kB / 3.525 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/8.306, allocations: 19.44 kB / 3.525 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009767/8.307, allocations: 470.7 kB / 3.526 GB, free: 231.5 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.003541/8.31, allocations: 2.421 MB / 3.528 GB, free: 230.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006045/8.311, allocations: 347.7 kB / 3.529 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/8.311, allocations: 211.4 kB / 3.529 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005371/8.312, allocations: 305.5 kB / 3.529 GB, free: 230 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/8.312, allocations: 40.52 kB / 3.529 GB, free: 229.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 2.905e-06/8.312, allocations: 0 / 3.529 GB, free: 229.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=39): time 0.001263/8.313, allocations: 432.5 kB / 3.529 GB, free: 229.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/8.313, allocations: 60.59 kB / 3.53 GB, free: 229.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005629/8.314, allocations: 431.8 kB / 3.53 GB, free: 229.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/8.314, allocations: 34.58 kB / 3.53 GB, free: 229.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/8.314, allocations: 325.9 kB / 3.53 GB, free: 229.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/8.314, allocations: 145.4 kB / 3.53 GB, free: 229.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/8.314, allocations: 6.375 kB / 3.53 GB, free: 229.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001323/8.314, allocations: 363.2 kB / 3.531 GB, free: 229.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/8.314, allocations: 147.5 kB / 3.531 GB, free: 229.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/8.315, allocations: 274.6 kB / 3.531 GB, free: 229 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/8.315, allocations: 187.2 kB / 3.531 GB, free: 229 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/8.315, allocations: 0 / 3.531 GB, free: 229 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008834/8.316, allocations: 489.7 kB / 3.532 GB, free: 228.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003189/8.316, allocations: 0.8797 MB / 3.533 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/8.316, allocations: 2.031 kB / 3.533 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.267e-05/8.316, allocations: 5.094 kB / 3.533 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007484/8.317, allocations: 107.8 kB / 3.533 GB, free: 228 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003761/8.318, allocations: 0.6038 MB / 3.533 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007929/8.318, allocations: 77.72 kB / 3.533 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-05/8.318, allocations: 18.91 kB / 3.533 GB, free: 227.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/8.318, allocations: 5.844 kB / 3.534 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008205/8.319, allocations: 416.8 kB / 3.534 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/8.319, allocations: 2.469 kB / 3.534 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/8.319, allocations: 4.281 kB / 3.534 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004537/8.32, allocations: 98.67 kB / 3.534 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/8.32, allocations: 11.81 kB / 3.534 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000553/8.32, allocations: 82.16 kB / 3.534 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/8.32, allocations: 18.69 kB / 3.534 GB, free: 227.4 MB / 0.948 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 () * 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.0001554/8.321, allocations: 132.9 kB / 3.534 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/8.321, allocations: 59.03 kB / 3.534 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009457/8.322, allocations: 448.3 kB / 3.535 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/8.322, allocations: 4.031 kB / 3.535 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/8.322, allocations: 1.188 kB / 3.535 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007231/8.322, allocations: 0.6623 MB / 3.535 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/8.325, allocations: 1.236 MB / 3.537 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/8.325, allocations: 1.312 kB / 3.537 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005982/8.325, allocations: 107.3 kB / 3.537 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/8.325, allocations: 3.906 kB / 3.537 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/8.325, allocations: 12.41 kB / 3.537 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002433/8.326, allocations: 0.5939 MB / 3.537 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/8.326, allocations: 5.906 kB / 3.537 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/8.327, allocations: 0.835 MB / 3.538 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/8.327, allocations: 177.2 kB / 3.538 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.016e-05/8.327, allocations: 14.72 kB / 3.538 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004765/8.328, allocations: 50.31 kB / 3.538 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.912e-05/8.328, allocations: 36.28 kB / 3.538 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/8.328, allocations: 12.81 kB / 3.538 GB, free: 225.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004263/8.328, allocations: 347.3 kB / 3.539 GB, free: 225.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/8.328, allocations: 3.75 kB / 3.539 GB, free: 225.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001873/8.33, allocations: 491.2 kB / 3.539 GB, free: 225.2 MB / 0.948 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 () * 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.00235/8.332, allocations: 1.388 MB / 3.541 GB, free: 224.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001376/8.334, allocations: 0.6124 MB / 3.541 GB, free: 224.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/8.334, allocations: 3.688 kB / 3.541 GB, free: 224.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003725/8.334, allocations: 199.4 kB / 3.541 GB, free: 224.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/8.336, allocations: 345.7 kB / 3.542 GB, free: 224.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/8.338, allocations: 1.089 MB / 3.543 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/8.338, allocations: 0.961 MB / 3.544 GB, free: 223.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009616/8.339, allocations: 256.2 kB / 3.544 GB, free: 223.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/8.339, allocations: 40.84 kB / 3.544 GB, free: 223.8 MB / 0.948 GB Notification: Performance of SimCode: time 2.014e-06/8.339, allocations: 0 / 3.544 GB, free: 223.8 MB / 0.948 GB Notification: Performance of Templates: time 0.05178/8.391, allocations: 32.32 MB / 3.576 GB, free: 222.7 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)