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.6206/0.6206, allocations: 94.7 MB / 107.3 MB, free: 5.188 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.001391/0.001391, allocations: 170.2 kB / 130.7 MB, free: 7.555 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.821/1.821, allocations: 170.5 MB / 324.5 MB, free: 4.012 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.002238/0.002238, allocations: 116.5 kB / 386.6 MB, free: 16.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.604e-05/4.607e-05, allocations: 7.984 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5827/0.5827, allocations: 61.51 MB / 0.5054 GB, free: 49.37 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.49/17.08, allocations: 5.261 GB / 5.766 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004034/17.08, allocations: 93.09 kB / 5.766 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.808/18.88, allocations: 411.6 MB / 6.168 GB, free: 91.28 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.783e-06/18.88, allocations: 0 / 6.168 GB, free: 91.28 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.21e-05/18.88, allocations: 23.42 kB / 6.168 GB, free: 91.28 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.003358/18.89, allocations: 1.157 MB / 6.17 GB, free: 90.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/18.89, allocations: 11.59 kB / 6.17 GB, free: 90.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005056/18.89, allocations: 105.3 kB / 6.17 GB, free: 90.69 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05417/18.94, allocations: 22.74 MB / 6.192 GB, free: 89.17 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.757e-05/18.94, allocations: 53.06 kB / 6.192 GB, free: 89.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/18.94, allocations: 72.27 kB / 6.192 GB, free: 89.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/18.94, allocations: 0.813 MB / 6.193 GB, free: 89.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/18.94, allocations: 0 / 6.193 GB, free: 89.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.484e-05/18.94, allocations: 29.25 kB / 6.193 GB, free: 89.09 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/18.94, allocations: 21.19 kB / 6.193 GB, free: 89.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/18.95, allocations: 0.7888 MB / 6.194 GB, free: 89.08 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.005192/18.95, allocations: 2.832 MB / 6.196 GB, free: 88.14 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008365/18.95, allocations: 434.1 kB / 6.197 GB, free: 88.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/18.95, allocations: 233.7 kB / 6.197 GB, free: 88.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004018/18.95, allocations: 311.3 kB / 6.197 GB, free: 87.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/18.95, allocations: 41.7 kB / 6.197 GB, free: 87.78 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 3.146e-06/18.95, allocations: 0 / 6.197 GB, free: 87.78 MB / 0.5261 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: vol.dynBal.medium.Xi[1] 2: vol.dynBal.medium.T 3: vol.dynBal.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=45): time 0.00247/18.96, allocations: 0.9027 MB / 6.198 GB, free: 87.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/18.96, allocations: 55.28 kB / 6.198 GB, free: 87.62 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000788/18.96, allocations: 0.6404 MB / 6.199 GB, free: 87.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.646e-05/18.96, allocations: 36.11 kB / 6.199 GB, free: 87.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/18.96, allocations: 391.5 kB / 6.199 GB, free: 87.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/18.96, allocations: 168.9 kB / 6.199 GB, free: 87.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/18.96, allocations: 7.875 kB / 6.2 GB, free: 87.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001201/18.96, allocations: 387 kB / 6.2 GB, free: 86.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003271/18.96, allocations: 230.2 kB / 6.2 GB, free: 86.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/18.96, allocations: 368.2 kB / 6.2 GB, free: 86.69 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/18.96, allocations: 284.9 kB / 6.201 GB, free: 86.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/18.96, allocations: 3.969 kB / 6.201 GB, free: 86.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001069/18.96, allocations: 0.7152 MB / 6.201 GB, free: 86.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003551/18.96, allocations: 1.312 MB / 6.203 GB, free: 85.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/18.96, allocations: 3.938 kB / 6.203 GB, free: 85.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/18.96, allocations: 3.781 kB / 6.203 GB, free: 85.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008862/18.96, allocations: 170.1 kB / 6.203 GB, free: 85.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003294/18.96, allocations: 0.5918 MB / 6.203 GB, free: 84.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009138/18.96, allocations: 111.1 kB / 6.204 GB, free: 84.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-05/18.96, allocations: 30.45 kB / 6.204 GB, free: 84.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/18.96, allocations: 4.594 kB / 6.204 GB, free: 84.59 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009179/18.96, allocations: 0.6172 MB / 6.204 GB, free: 84.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/18.96, allocations: 6.859 kB / 6.204 GB, free: 84.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/18.96, allocations: 10.03 kB / 6.204 GB, free: 84.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000537/18.96, allocations: 149.4 kB / 6.204 GB, free: 84.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/18.96, allocations: 6.219 kB / 6.204 GB, free: 84.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000568/18.96, allocations: 98.14 kB / 6.204 GB, free: 84.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/18.96, allocations: 35.11 kB / 6.204 GB, free: 84.5 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 (75): * Single equations (assignments): 74 * 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.0001993/18.96, allocations: 138.5 kB / 6.205 GB, free: 84.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/18.96, allocations: 72.41 kB / 6.205 GB, free: 84.35 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/18.97, allocations: 0.7382 MB / 6.205 GB, free: 84.26 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/18.97, allocations: 15.47 kB / 6.205 GB, free: 84.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/18.97, allocations: 0 / 6.205 GB, free: 84.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/18.97, allocations: 6.875 kB / 6.205 GB, free: 84.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/18.97, allocations: 0.75 MB / 6.206 GB, free: 84.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/18.97, allocations: 0 / 6.206 GB, free: 84.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006203/18.97, allocations: 119.3 kB / 6.206 GB, free: 84.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005365/18.97, allocations: 95.31 kB / 6.206 GB, free: 84.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/18.97, allocations: 14.11 kB / 6.206 GB, free: 84.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005015/18.97, allocations: 1.156 MB / 6.208 GB, free: 82.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/18.97, allocations: 3.906 kB / 6.208 GB, free: 82.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/18.97, allocations: 0.9499 MB / 6.208 GB, free: 82.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004376/18.97, allocations: 246.5 kB / 6.209 GB, free: 82.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/18.97, allocations: 14.56 kB / 6.209 GB, free: 82.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000567/18.97, allocations: 48.75 kB / 6.209 GB, free: 82.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/18.97, allocations: 35.8 kB / 6.209 GB, free: 82.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.808e-05/18.97, allocations: 33.86 kB / 6.209 GB, free: 82.66 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007617/18.97, allocations: 0.5272 MB / 6.209 GB, free: 82.56 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/18.97, allocations: 0 / 6.209 GB, free: 82.56 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004022/18.98, allocations: 0.816 MB / 6.21 GB, free: 82.42 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.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 (48): * Single equations (assignments): 44 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003796/18.98, allocations: 1.399 MB / 6.211 GB, free: 82.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002075/18.98, allocations: 0.959 MB / 6.212 GB, free: 82.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/18.98, allocations: 3.688 kB / 6.212 GB, free: 82.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00071/18.98, allocations: 324.5 kB / 6.213 GB, free: 82.06 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/18.99, allocations: 428.2 kB / 6.213 GB, free: 82.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/18.99, allocations: 1.284 MB / 6.214 GB, free: 81.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/18.99, allocations: 1.018 MB / 6.215 GB, free: 81.03 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00126/18.99, allocations: 309.7 kB / 6.216 GB, free: 81.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/18.99, allocations: 67.25 kB / 6.216 GB, free: 81 MB / 0.5261 GB Notification: Performance of SimCode: time 1.683e-06/18.99, allocations: 0 / 6.216 GB, free: 81 MB / 0.5261 GB Notification: Performance of Templates: time 0.05249/19.04, allocations: 38.22 MB / 6.253 GB, free: 74.1 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)