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.5908/0.5908, allocations: 95.61 MB / 110.6 MB, free: 9.383 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.001318/0.001318, allocations: 168.1 kB / 134.2 MB, free: 2.266 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.676/1.676, allocations: 170.7 MB / 328.4 MB, free: 12.2 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.001698/0.001698, allocations: 111 kB / 390.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003974, allocations: 12 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1553, allocations: 61.53 MB / 0.512 GB, free: 6.086 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.22/13.37, allocations: 5.261 GB / 5.773 GB, free: 37.74 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/13.37, allocations: 87.95 kB / 5.773 GB, free: 37.65 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.596/14.97, allocations: 412.3 MB / 6.176 GB, free: 39.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.804e-06/14.97, allocations: 0 / 6.176 GB, free: 39.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001373/14.97, allocations: 24 kB / 6.176 GB, free: 39.73 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.00507/14.97, allocations: 1.266 MB / 6.177 GB, free: 38.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/14.97, allocations: 11.98 kB / 6.177 GB, free: 38.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009601/14.98, allocations: 111 kB / 6.177 GB, free: 38.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04338/15.02, allocations: 22.83 MB / 6.199 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-05/15.02, allocations: 53.31 kB / 6.199 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003554/15.02, allocations: 67.95 kB / 6.199 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/15.02, allocations: 0.8508 MB / 6.2 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/15.02, allocations: 3.938 kB / 6.2 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/15.02, allocations: 28 kB / 6.2 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/15.02, allocations: 16 kB / 6.2 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/15.02, allocations: 0.8366 MB / 6.201 GB, free: 13.27 MB / 0.5261 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.005419/15.03, allocations: 2.827 MB / 6.204 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000901/15.03, allocations: 461.6 kB / 6.204 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000447/15.03, allocations: 307.6 kB / 6.205 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/15.03, allocations: 42.88 kB / 6.205 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 2.925e-06/15.03, allocations: 8 kB / 6.205 GB, free: 9.438 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.003042/15.03, allocations: 1.143 MB / 6.206 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/15.03, allocations: 55.41 kB / 6.206 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007891/15.03, allocations: 0.6518 MB / 6.207 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.457e-05/15.03, allocations: 37.7 kB / 6.207 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/15.04, allocations: 387.8 kB / 6.207 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/15.04, allocations: 161.7 kB / 6.207 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/15.04, allocations: 12 kB / 6.207 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001326/15.04, allocations: 386.7 kB / 6.207 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/15.04, allocations: 245.2 kB / 6.208 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/15.04, allocations: 394.3 kB / 6.208 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/15.04, allocations: 306 kB / 6.208 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/15.04, allocations: 4 kB / 6.208 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001174/15.04, allocations: 0.7633 MB / 6.209 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003143/15.04, allocations: 1.31 MB / 6.21 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/15.04, allocations: 0 / 6.21 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/15.04, allocations: 8 kB / 6.21 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008435/15.04, allocations: 171.8 kB / 6.211 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002791/15.04, allocations: 0.5899 MB / 6.211 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008084/15.04, allocations: 107.3 kB / 6.211 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.42e-05/15.04, allocations: 28.03 kB / 6.211 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/15.04, allocations: 4 kB / 6.211 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001054/15.04, allocations: 0.677 MB / 6.212 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/15.04, allocations: 7.938 kB / 6.212 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.423e-06/15.04, allocations: 7.953 kB / 6.212 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/15.04, allocations: 139.8 kB / 6.212 GB, free: 1.652 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/15.04, allocations: 11.98 kB / 6.212 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005468/15.04, allocations: 87.47 kB / 6.212 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/15.04, allocations: 27.98 kB / 6.212 GB, free: 1.527 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 () * Number of clocked 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.0004651/15.04, allocations: 338.1 kB / 6.213 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/15.04, allocations: 79.06 kB / 6.213 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/15.04, allocations: 0.7722 MB / 6.213 GB, free: 336 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/15.04, allocations: 12 kB / 6.213 GB, free: 324 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/15.04, allocations: 0 / 6.213 GB, free: 324 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/15.04, allocations: 3.984 kB / 6.213 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4145/15.46, allocations: 0.7515 MB / 6.214 GB, free: 74.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/15.46, allocations: 0 / 6.214 GB, free: 74.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000932/15.46, allocations: 117.4 kB / 6.214 GB, free: 74.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006585/15.46, allocations: 94.34 kB / 6.214 GB, free: 74.51 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.225e-05/15.46, allocations: 14.58 kB / 6.214 GB, free: 74.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006211/15.46, allocations: 1.164 MB / 6.215 GB, free: 73.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/15.46, allocations: 0 / 6.215 GB, free: 73.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/15.46, allocations: 1.007 MB / 6.216 GB, free: 73.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006218/15.46, allocations: 257 kB / 6.217 GB, free: 73.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/15.46, allocations: 10.08 kB / 6.217 GB, free: 73.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006143/15.47, allocations: 60.52 kB / 6.217 GB, free: 73.24 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/15.47, allocations: 30.17 kB / 6.217 GB, free: 73.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.428e-05/15.47, allocations: 30.69 kB / 6.217 GB, free: 73.24 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009686/15.47, allocations: 0.5352 MB / 6.217 GB, free: 73.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/15.47, allocations: 1.969 kB / 6.217 GB, free: 73.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003173/15.47, allocations: 0.8154 MB / 6.218 GB, free: 73.12 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 () * Number of clocked 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.003447/15.47, allocations: 1.4 MB / 6.22 GB, free: 72.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002649/15.48, allocations: 0.9991 MB / 6.22 GB, free: 72.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/15.48, allocations: 1.188 kB / 6.22 GB, free: 72.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009399/15.48, allocations: 337.3 kB / 6.221 GB, free: 72.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/15.48, allocations: 431.7 kB / 6.221 GB, free: 72.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/15.48, allocations: 1.994 MB / 6.223 GB, free: 72.15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/15.48, allocations: 1.024 MB / 6.224 GB, free: 71.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001054/15.48, allocations: 240.1 kB / 6.224 GB, free: 71.44 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/15.48, allocations: 74.14 kB / 6.224 GB, free: 71.43 MB / 0.5261 GB Notification: Performance of SimCode: time 1.272e-06/15.48, allocations: 0 / 6.224 GB, free: 71.43 MB / 0.5261 GB Notification: Performance of Templates: time 0.059/15.54, allocations: 33.91 MB / 6.258 GB, free: 70.62 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)