Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001094/0.001094, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001155/0.001155, allocations: 195.8 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.805/2.805, allocations: 472.6 MB / 0.7448 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 64.61 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3637, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1974/0.5611, allocations: 182.6 MB / 1.246 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6545/1.216, allocations: 6.935 MB / 1.253 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/1.217, allocations: 24.31 kB / 1.253 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/1.218, allocations: 353.4 kB / 1.253 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004231/1.223, allocations: 1.363 MB / 1.254 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003547/1.226, allocations: 1.073 MB / 1.256 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003429/1.23, allocations: 1.942 MB / 1.257 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/1.231, allocations: 0.6428 MB / 1.258 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002091/1.233, allocations: 0.8255 MB / 1.259 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/1.235, allocations: 0.6347 MB / 1.259 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/1.235, allocations: 68.78 kB / 1.26 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004574/1.239, allocations: 1.998 MB / 1.262 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004744/1.24, allocations: 293.7 kB / 1.262 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007145/1.24, allocations: 431 kB / 1.262 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004349/1.245, allocations: 1.862 MB / 1.264 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.245, allocations: 1.719 kB / 1.264 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.395e-06/1.245, allocations: 0 / 1.264 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.231e-05/1.245, allocations: 1.203 kB / 1.264 GB, free: 5.344 MB / 0.9981 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.00247/1.247, allocations: 1.156 MB / 1.265 GB, free: 20.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.247, allocations: 11.16 kB / 1.265 GB, free: 20.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/1.249, allocations: 274.9 kB / 1.265 GB, free: 20.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/1.25, allocations: 0.5743 MB / 1.266 GB, free: 20.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/1.251, allocations: 44.47 kB / 1.266 GB, free: 20.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/1.251, allocations: 55.95 kB / 1.266 GB, free: 20.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/1.252, allocations: 0.6366 MB / 1.267 GB, free: 20.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/1.252, allocations: 2.578 kB / 1.267 GB, free: 20.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.498e-05/1.252, allocations: 28.28 kB / 1.267 GB, free: 20.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/1.252, allocations: 19.91 kB / 1.267 GB, free: 20.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/1.253, allocations: 0.5199 MB / 1.267 GB, free: 20.26 MB / 1.014 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.003833/1.257, allocations: 2.455 MB / 1.27 GB, free: 18.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007082/1.258, allocations: 359.6 kB / 1.27 GB, free: 18.92 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/1.258, allocations: 238.7 kB / 1.27 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006795/1.259, allocations: 306.4 kB / 1.271 GB, free: 18.63 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/1.259, allocations: 39.61 kB / 1.271 GB, free: 18.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 2.996e-06/1.259, allocations: 0 / 1.271 GB, free: 18.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=39): time 0.001698/1.261, allocations: 0.6159 MB / 1.271 GB, free: 18.52 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/1.261, allocations: 57.83 kB / 1.271 GB, free: 18.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009841/1.262, allocations: 0.4951 MB / 1.272 GB, free: 18.34 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.884e-05/1.262, allocations: 37.8 kB / 1.272 GB, free: 18.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/1.262, allocations: 324.4 kB / 1.272 GB, free: 18.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/1.262, allocations: 140.5 kB / 1.272 GB, free: 18.05 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/1.262, allocations: 86.64 kB / 1.272 GB, free: 18.04 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.263, allocations: 366.5 kB / 1.273 GB, free: 17.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/1.263, allocations: 178.5 kB / 1.273 GB, free: 17.71 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/1.263, allocations: 281.8 kB / 1.273 GB, free: 17.61 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007575/1.264, allocations: 448.8 kB / 1.273 GB, free: 17.53 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.264, allocations: 4.469 kB / 1.273 GB, free: 17.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001044/1.265, allocations: 0.5295 MB / 1.274 GB, free: 17.45 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/1.265, allocations: 5.281 kB / 1.274 GB, free: 17.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.265, allocations: 3.031 kB / 1.274 GB, free: 17.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/1.265, allocations: 4.562 kB / 1.274 GB, free: 17.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008358/1.266, allocations: 133.2 kB / 1.274 GB, free: 17.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004094/1.267, allocations: 0.6 MB / 1.275 GB, free: 16.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007701/1.267, allocations: 87.11 kB / 1.275 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/1.267, allocations: 19.14 kB / 1.275 GB, free: 16.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007079/1.268, allocations: 349.5 kB / 1.275 GB, free: 16.76 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004797/1.269, allocations: 283.1 kB / 1.275 GB, free: 16.66 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009734/1.27, allocations: 451.8 kB / 1.276 GB, free: 16.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.025e-06/1.27, allocations: 0.5312 kB / 1.276 GB, free: 16.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001182/1.271, allocations: 0.5182 MB / 1.276 GB, free: 16.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/1.271, allocations: 11.48 kB / 1.276 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/1.271, allocations: 1.094 kB / 1.276 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.747e-06/1.271, allocations: 5.906 kB / 1.276 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/1.271, allocations: 122.2 kB / 1.276 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.271, allocations: 8.469 kB / 1.277 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006917/1.272, allocations: 77.64 kB / 1.277 GB, free: 16.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/1.272, allocations: 18.28 kB / 1.277 GB, free: 16.48 MB / 1.014 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002464/1.272, allocations: 206.6 kB / 1.277 GB, free: 16.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/1.273, allocations: 64.03 kB / 1.277 GB, free: 16.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/1.274, allocations: 487.4 kB / 1.277 GB, free: 16.22 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/1.274, allocations: 3.781 kB / 1.277 GB, free: 16.22 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.274, allocations: 0 / 1.277 GB, free: 16.22 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008611/1.274, allocations: 0.7041 MB / 1.278 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/1.277, allocations: 1.288 MB / 1.279 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/1.277, allocations: 3.719 kB / 1.279 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007493/1.278, allocations: 121.4 kB / 1.279 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/1.278, allocations: 3.875 kB / 1.279 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/1.278, allocations: 13.8 kB / 1.279 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004315/1.279, allocations: 0.5982 MB / 1.28 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.279, allocations: 7.25 kB / 1.28 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/1.28, allocations: 0.7896 MB / 1.281 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004149/1.281, allocations: 185.8 kB / 1.281 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.13e-05/1.281, allocations: 14.75 kB / 1.281 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005694/1.281, allocations: 41.53 kB / 1.281 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/1.282, allocations: 26.73 kB / 1.281 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/1.282, allocations: 16.06 kB / 1.281 GB, free: 14.45 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007076/1.282, allocations: 355.3 kB / 1.281 GB, free: 14.37 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.282, allocations: 0 / 1.281 GB, free: 14.37 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001687/1.284, allocations: 361.8 kB / 1.282 GB, free: 14.32 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007474/1.285, allocations: 215.7 kB / 1.282 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001941/1.287, allocations: 0.722 MB / 1.283 GB, free: 14.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.287, allocations: 2.125 kB / 1.283 GB, free: 14.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004625/1.287, allocations: 221.1 kB / 1.283 GB, free: 14.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/1.289, allocations: 355.3 kB / 1.283 GB, free: 14.16 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/1.292, allocations: 1.642 MB / 1.285 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006849/1.292, allocations: 0.946 MB / 1.286 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009452/1.293, allocations: 212.3 kB / 1.286 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/1.294, allocations: 49.2 kB / 1.286 GB, free: 12.63 MB / 1.014 GB Notification: Performance of SimCode: time 1.092e-06/1.294, allocations: 1.25 kB / 1.286 GB, free: 12.63 MB / 1.014 GB Notification: Performance of Templates: time 0.02578/1.319, allocations: 12.27 MB / 1.298 GB, free: 11.89 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)