Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 87.11 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.613/1.613, allocations: 252 MB / 0.5102 GB, free: 4.73 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005507/0.0005509, allocations: 16 kB / 0.6243 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5991/0.5996, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1942/0.7939, allocations: 168.5 MB / 0.8927 GB, free: 2.402 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01014/0.8041, allocations: 6.572 MB / 0.8991 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.8053, allocations: 23.88 kB / 0.8991 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.8063, allocations: 274.2 kB / 0.8994 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003624/0.81, allocations: 1.057 MB / 0.9004 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002945/0.8129, allocations: 0.8553 MB / 0.9013 GB, free: 9.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003074/0.816, allocations: 2.335 MB / 0.9035 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008824/0.8169, allocations: 0.5078 MB / 0.904 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.8185, allocations: 0.7041 MB / 0.9047 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008818/0.8194, allocations: 0.5721 MB / 0.9053 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.712e-05/0.8195, allocations: 32 kB / 0.9053 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/0.8225, allocations: 1.134 MB / 0.9064 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003213/0.8228, allocations: 255.2 kB / 0.9067 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002623/0.8231, allocations: 181.3 kB / 0.9068 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.8247, allocations: 1.161 MB / 0.908 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.8247, allocations: 0 / 0.908 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8247, allocations: 4 kB / 0.908 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.8248, allocations: 0 / 0.908 GB, free: 2.695 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001825/0.8266, allocations: 1.013 MB / 0.909 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.8266, allocations: 12.03 kB / 0.909 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.8284, allocations: 270.8 kB / 0.9092 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000933/0.8294, allocations: 0.5678 MB / 0.9098 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/0.8294, allocations: 37.31 kB / 0.9098 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.525e-05/0.8295, allocations: 56 kB / 0.9099 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.491/1.321, allocations: 0.6401 MB / 0.9105 GB, free: 183 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-05/1.321, allocations: 0 / 0.9105 GB, free: 183 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/1.321, allocations: 25.88 kB / 0.9105 GB, free: 183 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.008e-05/1.321, allocations: 22.48 kB / 0.9105 GB, free: 183 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/1.322, allocations: 0.5314 MB / 0.9111 GB, free: 183 MB / 0.7169 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.003858/1.326, allocations: 2.457 MB / 0.9135 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007217/1.327, allocations: 378.7 kB / 0.9138 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004479/1.328, allocations: 236.2 kB / 0.914 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000574/1.328, allocations: 322 kB / 0.9144 GB, free: 181 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/1.328, allocations: 42.66 kB / 0.9144 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=39): time 3.556e-06/1.328, allocations: 3.969 kB / 0.9144 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39): time 0.001674/1.33, allocations: 0.6261 MB / 0.915 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/1.33, allocations: 55.66 kB / 0.9151 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007363/1.331, allocations: 495.8 kB / 0.9155 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/1.331, allocations: 36.58 kB / 0.9156 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/1.331, allocations: 322.3 kB / 0.9159 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/1.331, allocations: 138.2 kB / 0.916 GB, free: 180 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/1.331, allocations: 10.03 kB / 0.916 GB, free: 180 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.331, allocations: 362 kB / 0.9164 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/1.332, allocations: 172.2 kB / 0.9165 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004559/1.332, allocations: 286.2 kB / 0.9168 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/1.333, allocations: 200.4 kB / 0.917 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.333, allocations: 0.5625 kB / 0.917 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001074/1.334, allocations: 0.53 MB / 0.9175 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.332e-05/1.334, allocations: 157 kB / 0.9177 GB, free: 179 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.334, allocations: 2.344 kB / 0.9177 GB, free: 179 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/1.334, allocations: 5.094 kB / 0.9177 GB, free: 179 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008253/1.335, allocations: 151.7 kB / 0.9178 GB, free: 179 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000295/1.335, allocations: 0.5909 MB / 0.9184 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007491/1.336, allocations: 84.48 kB / 0.9185 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.749e-05/1.336, allocations: 19.09 kB / 0.9185 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/1.336, allocations: 2.938 kB / 0.9185 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009299/1.337, allocations: 465.6 kB / 0.9189 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/1.337, allocations: 2.812 kB / 0.9189 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/1.337, allocations: 5.359 kB / 0.9189 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/1.337, allocations: 129.3 kB / 0.9191 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/1.337, allocations: 13.56 kB / 0.9191 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005669/1.338, allocations: 76.23 kB / 0.9191 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/1.338, allocations: 18.22 kB / 0.9192 GB, free: 178.1 MB / 0.7169 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.0004385/1.338, allocations: 310.2 kB / 0.9195 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/1.339, allocations: 61.02 kB / 0.9195 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/1.34, allocations: 487 kB / 0.92 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.34, allocations: 4.484 kB / 0.92 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.34, allocations: 0.9688 kB / 0.92 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008203/1.34, allocations: 0.7093 MB / 0.9207 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/1.343, allocations: 1.282 MB / 0.9219 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.343, allocations: 1.875 kB / 0.9219 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006927/1.344, allocations: 136.1 kB / 0.9221 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/1.344, allocations: 5.188 kB / 0.9221 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/1.344, allocations: 18.38 kB / 0.9221 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00023/1.344, allocations: 0.5931 MB / 0.9227 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.344, allocations: 5.734 kB / 0.9227 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/1.345, allocations: 0.8306 MB / 0.9235 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003381/1.346, allocations: 183.4 kB / 0.9237 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.391e-05/1.346, allocations: 8.719 kB / 0.9237 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005237/1.346, allocations: 66.17 kB / 0.9237 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.347, allocations: 30.31 kB / 0.9238 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/1.347, allocations: 13.39 kB / 0.9238 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005513/1.347, allocations: 348.8 kB / 0.9241 GB, free: 175 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.347, allocations: 0 / 0.9241 GB, free: 175 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001204/1.348, allocations: 366.4 kB / 0.9245 GB, free: 174.9 MB / 0.7169 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.0005257/1.349, allocations: 211 kB / 0.9247 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001622/1.351, allocations: 0.666 MB / 0.9253 GB, free: 174.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.351, allocations: 0 / 0.9253 GB, free: 174.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004171/1.351, allocations: 234.7 kB / 0.9255 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/1.353, allocations: 356.6 kB / 0.9259 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/1.356, allocations: 1.715 MB / 0.9275 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/1.356, allocations: 0.9534 MB / 0.9285 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007509/1.357, allocations: 195.5 kB / 0.9287 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/1.357, allocations: 46.78 kB / 0.9287 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of SimCode: time 1.153e-06/1.357, allocations: 0 / 0.9287 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.01855/1.376, allocations: 11.6 MB / 0.94 GB, free: 162.6 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) Environment - environmentSimulation: