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.639/1.639, allocations: 288.3 MB / 303.2 MB, free: 8.121 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.001291/0.001291, allocations: 177.1 kB / 371.8 MB, free: 10.28 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.704/1.704, allocations: 205.4 MB / 0.6306 GB, free: 9.945 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008858/0.0008858, allocations: 97.09 kB / 0.7439 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004221, allocations: 16.09 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2305, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.6489/0.8795, allocations: 154 MB / 1.13 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.009247/0.8888, allocations: 6.477 MB / 1.136 GB, free: 188 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.8899, allocations: 20.19 kB / 1.136 GB, free: 180 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.8912, allocations: 429.1 kB / 1.137 GB, free: 100 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003849/0.8951, allocations: 1.286 MB / 1.138 GB, free: 32 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.8982, allocations: 1.044 MB / 1.139 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.9001, allocations: 1.121 MB / 1.14 GB, free: 15.59 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000678/0.9007, allocations: 0.5046 MB / 1.14 GB, free: 15.38 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.9019, allocations: 0.6064 MB / 1.141 GB, free: 15.15 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.9023, allocations: 381.1 kB / 1.141 GB, free: 14.99 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.31e-05/0.9024, allocations: 30.22 kB / 1.141 GB, free: 14.99 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/0.9045, allocations: 0.8782 MB / 1.142 GB, free: 14.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002912/0.9048, allocations: 231.6 kB / 1.142 GB, free: 14.68 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.905, allocations: 176 kB / 1.143 GB, free: 14.62 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.9065, allocations: 1.009 MB / 1.144 GB, free: 14.09 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.9065, allocations: 4 kB / 1.144 GB, free: 14.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9065, allocations: 0 / 1.144 GB, free: 14.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.9066, allocations: 1.219 kB / 1.144 GB, free: 14.09 MB / 0.698 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.001652/0.9082, allocations: 0.9854 MB / 1.145 GB, free: 13.35 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.9083, allocations: 8.156 kB / 1.145 GB, free: 13.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.9102, allocations: 271.7 kB / 1.145 GB, free: 13.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.9113, allocations: 0.561 MB / 1.145 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.736e-05/0.9113, allocations: 41.59 kB / 1.145 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.792e-05/0.9114, allocations: 58.47 kB / 1.145 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.9125, allocations: 0.6282 MB / 1.146 GB, free: 12.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.9125, allocations: 4.875 kB / 1.146 GB, free: 12.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.356e-05/0.9126, allocations: 22.66 kB / 1.146 GB, free: 12.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-05/0.9127, allocations: 19.22 kB / 1.146 GB, free: 12.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009787/0.9137, allocations: 0.5236 MB / 1.147 GB, free: 12.57 MB / 0.698 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.003027/0.9167, allocations: 2.45 MB / 1.149 GB, free: 10.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/0.9173, allocations: 386.9 kB / 1.149 GB, free: 10.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004025/0.9178, allocations: 145 kB / 1.15 GB, free: 10.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.9178, allocations: 35.77 kB / 1.15 GB, free: 10.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 2.705e-06/0.9178, allocations: 1.438 kB / 1.15 GB, free: 10.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.001372/0.9192, allocations: 0.6248 MB / 1.15 GB, free: 10.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.9192, allocations: 62 kB / 1.15 GB, free: 10.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005138/0.9198, allocations: 496.6 kB / 1.151 GB, free: 10.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.9198, allocations: 35.05 kB / 1.151 GB, free: 10.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.92, allocations: 325 kB / 1.151 GB, free: 9.969 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.9201, allocations: 140.5 kB / 1.151 GB, free: 9.867 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.9202, allocations: 5.875 kB / 1.151 GB, free: 9.867 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.9203, allocations: 370.7 kB / 1.152 GB, free: 9.535 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.9206, allocations: 172 kB / 1.152 GB, free: 9.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.921, allocations: 287.2 kB / 1.152 GB, free: 9.344 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.9214, allocations: 220.4 kB / 1.152 GB, free: 9.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.9214, allocations: 1.5 kB / 1.152 GB, free: 9.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009922/0.9224, allocations: 0.5267 MB / 1.153 GB, free: 8.961 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003169/0.9227, allocations: 0.8701 MB / 1.154 GB, free: 8.031 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.9227, allocations: 10.39 kB / 1.154 GB, free: 8.023 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.9228, allocations: 7.281 kB / 1.154 GB, free: 8.023 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007569/0.9235, allocations: 144.8 kB / 1.154 GB, free: 7.984 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003617/0.9239, allocations: 0.5959 MB / 1.154 GB, free: 7.383 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006474/0.9246, allocations: 81.56 kB / 1.154 GB, free: 7.336 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.9246, allocations: 17.34 kB / 1.154 GB, free: 7.332 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.258e-06/0.9247, allocations: 3.406 kB / 1.154 GB, free: 7.332 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008123/0.9255, allocations: 468.7 kB / 1.155 GB, free: 7.109 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.9255, allocations: 1.812 kB / 1.155 GB, free: 7.109 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.9255, allocations: 5.281 kB / 1.155 GB, free: 7.109 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.926, allocations: 130.5 kB / 1.155 GB, free: 7.078 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.926, allocations: 8.156 kB / 1.155 GB, free: 7.074 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000545/0.9266, allocations: 74.08 kB / 1.155 GB, free: 7.035 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.9266, allocations: 18.36 kB / 1.155 GB, free: 7.031 MB / 0.698 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 (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.0003533/0.927, allocations: 307.9 kB / 1.155 GB, free: 6.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.653e-05/0.9271, allocations: 68.27 kB / 1.155 GB, free: 6.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009154/0.928, allocations: 499.9 kB / 1.156 GB, free: 6.445 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.928, allocations: 2.938 kB / 1.156 GB, free: 6.445 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.928, allocations: 1.469 kB / 1.156 GB, free: 6.445 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008147/0.9289, allocations: 0.7068 MB / 1.157 GB, free: 5.844 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.9309, allocations: 1.287 MB / 1.158 GB, free: 4.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.9309, allocations: 1.719 kB / 1.158 GB, free: 4.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006296/0.9316, allocations: 137.8 kB / 1.158 GB, free: 4.875 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.9316, allocations: 3.531 kB / 1.158 GB, free: 4.875 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/0.9316, allocations: 10.88 kB / 1.158 GB, free: 4.871 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003216/0.9319, allocations: 0.6066 MB / 1.159 GB, free: 4.258 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.932, allocations: 2.531 kB / 1.159 GB, free: 4.258 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.9333, allocations: 0.9072 MB / 1.159 GB, free: 3.613 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.9336, allocations: 190 kB / 1.16 GB, free: 3.441 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.05e-05/0.9337, allocations: 8.625 kB / 1.16 GB, free: 3.438 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004693/0.9342, allocations: 49.3 kB / 1.16 GB, free: 3.414 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.9343, allocations: 30.5 kB / 1.16 GB, free: 3.398 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.9343, allocations: 18.08 kB / 1.16 GB, free: 3.391 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004392/0.9347, allocations: 345.8 kB / 1.16 GB, free: 3.184 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9348, allocations: 1.219 kB / 1.16 GB, free: 3.184 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001161/0.9359, allocations: 357.3 kB / 1.16 GB, free: 3.117 MB / 0.698 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 () * 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 (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.0005375/0.9365, allocations: 207.4 kB / 1.161 GB, free: 2.973 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001578/0.9381, allocations: 0.6706 MB / 1.161 GB, free: 2.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.9381, allocations: 1.375 kB / 1.161 GB, free: 2.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004663/0.9386, allocations: 238.5 kB / 1.162 GB, free: 2.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.9403, allocations: 363.6 kB / 1.162 GB, free: 2.387 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.943, allocations: 1.704 MB / 1.164 GB, free: 1.156 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/0.9436, allocations: 0.9678 MB / 1.164 GB, free: 324 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007709/0.9444, allocations: 206.8 kB / 1.165 GB, free: 232 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.9445, allocations: 50.97 kB / 1.165 GB, free: 220 kB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/0.9445, allocations: 0 / 1.165 GB, free: 220 kB / 0.698 GB Notification: Performance of Templates: time 0.02014/0.9647, allocations: 11.54 MB / 1.176 GB, free: 10.52 MB / 0.7136 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)