Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6088/0.6088, allocations: 94.78 MB / 102.3 MB, free: 10.12 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001257/0.001258, allocations: 176.1 kB / 125.6 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.841/1.841, allocations: 170.6 MB / 319.4 MB, free: 9.32 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001652/0.001652, allocations: 103.5 kB / 381.3 MB, free: 18.26 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.804e-05/2.816e-05, allocations: 4 kB / 449.1 MB, free: 1.754 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2154, allocations: 61.53 MB / 0.4987 GB, free: 4.141 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.39/15.61, allocations: 5.26 GB / 5.759 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005435/15.61, allocations: 85.12 kB / 5.759 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.822/17.43, allocations: 406.6 MB / 6.156 GB, free: 31.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.735e-06/17.43, allocations: 0 / 6.156 GB, free: 31.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001788/17.43, allocations: 27.98 kB / 6.156 GB, free: 31.11 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.005015/17.43, allocations: 1.153 MB / 6.157 GB, free: 29.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.752e-05/17.43, allocations: 12.03 kB / 6.157 GB, free: 29.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006493/17.44, allocations: 102.9 kB / 6.157 GB, free: 29.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0455/17.48, allocations: 22.39 MB / 6.179 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-05/17.48, allocations: 20 kB / 6.179 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004096/17.48, allocations: 43.95 kB / 6.179 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002031/17.48, allocations: 0.7522 MB / 6.18 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/17.49, allocations: 0.7117 MB / 6.181 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/17.49, allocations: 0 / 6.181 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/17.49, allocations: 4 kB / 6.181 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/17.49, allocations: 16 kB / 6.181 GB, free: 5.523 MB / 0.5261 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.006074/17.49, allocations: 2.677 MB / 6.183 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000762/17.49, allocations: 413.8 kB / 6.184 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/17.49, allocations: 212.8 kB / 6.184 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004527/17.49, allocations: 307.2 kB / 6.184 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/17.49, allocations: 42.56 kB / 6.184 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=44): time 4.008e-06/17.49, allocations: 0 / 6.184 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51): time 0.5348/18.03, allocations: 2.644 MB / 6.187 GB, free: 70.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/18.03, allocations: 59.16 kB / 6.187 GB, free: 70.19 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009358/18.03, allocations: 0.5032 MB / 6.187 GB, free: 70.08 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.252e-05/18.03, allocations: 27.7 kB / 6.187 GB, free: 70.05 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/18.03, allocations: 405.5 kB / 6.188 GB, free: 69.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/18.03, allocations: 176 kB / 6.188 GB, free: 69.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/18.03, allocations: 1.688 kB / 6.188 GB, free: 69.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001812/18.03, allocations: 378.2 kB / 6.188 GB, free: 69.47 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004844/18.03, allocations: 268.4 kB / 6.189 GB, free: 69.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/18.03, allocations: 410.6 kB / 6.189 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/18.03, allocations: 0.5273 MB / 6.19 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/18.03, allocations: 1.281 kB / 6.19 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002615/18.04, allocations: 1.082 MB / 6.191 GB, free: 69.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004408/18.04, allocations: 1.308 MB / 6.192 GB, free: 67.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/18.04, allocations: 6.875 kB / 6.192 GB, free: 67.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005316/18.04, allocations: 133.6 kB / 6.192 GB, free: 67.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009498/18.04, allocations: 180.9 kB / 6.192 GB, free: 67.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006671/18.04, allocations: 3.439 MB / 6.196 GB, free: 65.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/18.05, allocations: 65.39 kB / 6.196 GB, free: 65.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/18.05, allocations: 39.56 kB / 6.196 GB, free: 65.53 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/18.05, allocations: 3.891 kB / 6.196 GB, free: 65.53 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002728/18.05, allocations: 1.08 MB / 6.197 GB, free: 65.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/18.05, allocations: 6.094 kB / 6.197 GB, free: 65.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004521/18.05, allocations: 126.6 kB / 6.197 GB, free: 65.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/18.05, allocations: 164.6 kB / 6.197 GB, free: 65.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/18.05, allocations: 1.857 MB / 6.199 GB, free: 64.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008946/18.05, allocations: 65.41 kB / 6.199 GB, free: 64.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.477e-05/18.05, allocations: 36.72 kB / 6.199 GB, free: 64.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 78 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003849/18.05, allocations: 118.3 kB / 6.199 GB, free: 64.13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/18.05, allocations: 70.64 kB / 6.199 GB, free: 64.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003098/18.06, allocations: 1.012 MB / 6.2 GB, free: 64.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/18.06, allocations: 7.125 kB / 6.2 GB, free: 64.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/18.06, allocations: 1.062 kB / 6.2 GB, free: 64.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/18.06, allocations: 6.938 kB / 6.2 GB, free: 64.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004554/18.06, allocations: 1.812 MB / 6.202 GB, free: 63.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/18.06, allocations: 1 kB / 6.202 GB, free: 63.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008361/18.06, allocations: 137.7 kB / 6.202 GB, free: 63.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007754/18.06, allocations: 149.9 kB / 6.202 GB, free: 63.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.526e-05/18.06, allocations: 20.7 kB / 6.202 GB, free: 63.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/18.06, allocations: 2.083 MB / 6.204 GB, free: 61.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/18.06, allocations: 0 / 6.204 GB, free: 61.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003514/18.07, allocations: 1.301 MB / 6.205 GB, free: 61.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006645/18.07, allocations: 246.8 kB / 6.206 GB, free: 61.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/18.07, allocations: 10.11 kB / 6.206 GB, free: 61.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008482/18.07, allocations: 45.98 kB / 6.206 GB, free: 61.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/18.07, allocations: 45.12 kB / 6.206 GB, free: 61.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/18.07, allocations: 35.7 kB / 6.206 GB, free: 61.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007996/18.07, allocations: 395.1 kB / 6.206 GB, free: 61.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.51e-07/18.07, allocations: 0 / 6.206 GB, free: 61.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004625/18.08, allocations: 0.8228 MB / 6.207 GB, free: 61.51 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (vol.dynBal.medium.p,vol.dynBal.medium.Xi[1],vol.dynBal.medium.T,senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005434/18.08, allocations: 1.659 MB / 6.209 GB, free: 61.33 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003458/18.08, allocations: 1.386 MB / 6.21 GB, free: 61.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/18.08, allocations: 1.375 kB / 6.21 GB, free: 61.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/18.09, allocations: 0.5073 MB / 6.21 GB, free: 61.01 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/18.09, allocations: 335.1 kB / 6.211 GB, free: 61.01 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004208/18.09, allocations: 1.394 MB / 6.212 GB, free: 60.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/18.09, allocations: 1.037 MB / 6.213 GB, free: 59.97 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001722/18.1, allocations: 300.8 kB / 6.213 GB, free: 59.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/18.1, allocations: 66.33 kB / 6.214 GB, free: 59.95 MB / 0.5261 GB Notification: Performance of SimCode: time 1.362e-06/18.1, allocations: 3.125 kB / 6.214 GB, free: 59.95 MB / 0.5261 GB Notification: Performance of Templates: time 0.06473/18.16, allocations: 27.7 MB / 6.241 GB, free: 59.16 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)