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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008073/0.0008073, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005798/0.005798, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.379/1.379, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.907/2.907, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003934, allocations: 14.86 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3244, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1871/0.5115, allocations: 180.4 MB / 1.25 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7199/1.231, allocations: 6.964 MB / 1.257 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/1.233, allocations: 29 kB / 1.257 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/1.234, allocations: 338.8 kB / 1.257 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003567/1.237, allocations: 1.364 MB / 1.259 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003269/1.241, allocations: 1.048 MB / 1.26 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004608/1.245, allocations: 2.72 MB / 1.262 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/1.246, allocations: 0.5424 MB / 1.263 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/1.248, allocations: 0.7059 MB / 1.264 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/1.249, allocations: 0.6012 MB / 1.264 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.465e-05/1.249, allocations: 31.5 kB / 1.264 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004209/1.254, allocations: 2.186 MB / 1.266 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000368/1.254, allocations: 249.6 kB / 1.267 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005277/1.254, allocations: 411 kB / 1.267 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003252/1.258, allocations: 1.816 MB / 1.269 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.258, allocations: 0 / 1.269 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.683e-06/1.258, allocations: 1.969 kB / 1.269 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.377e-05/1.258, allocations: 0.9375 kB / 1.269 GB, free: 5.953 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.001974/1.26, allocations: 1.016 MB / 1.27 GB, free: 21.29 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/1.26, allocations: 11.52 kB / 1.27 GB, free: 21.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/1.262, allocations: 272.5 kB / 1.27 GB, free: 21.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009045/1.263, allocations: 0.5779 MB / 1.271 GB, free: 20.97 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/1.263, allocations: 43 kB / 1.271 GB, free: 20.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.605e-05/1.263, allocations: 57.66 kB / 1.271 GB, free: 20.96 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/1.264, allocations: 0.6387 MB / 1.271 GB, free: 20.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/1.264, allocations: 7.891 kB / 1.271 GB, free: 20.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.656e-05/1.264, allocations: 23.84 kB / 1.271 GB, free: 20.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/1.264, allocations: 18.31 kB / 1.271 GB, free: 20.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009956/1.265, allocations: 0.5338 MB / 1.272 GB, free: 20.88 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.003271/1.268, allocations: 2.466 MB / 1.274 GB, free: 19.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/1.269, allocations: 363.8 kB / 1.275 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004375/1.27, allocations: 250.5 kB / 1.275 GB, free: 19.51 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006435/1.27, allocations: 324.6 kB / 1.275 GB, free: 19.22 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/1.27, allocations: 33.77 kB / 1.275 GB, free: 19.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 2.625e-06/1.27, allocations: 0 / 1.275 GB, free: 19.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=39): time 0.001514/1.272, allocations: 0.6346 MB / 1.276 GB, free: 19.11 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/1.272, allocations: 63.22 kB / 1.276 GB, free: 19.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006468/1.272, allocations: 0.4904 MB / 1.276 GB, free: 18.92 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/1.273, allocations: 36.2 kB / 1.276 GB, free: 18.89 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/1.273, allocations: 324.4 kB / 1.277 GB, free: 18.73 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/1.273, allocations: 144.7 kB / 1.277 GB, free: 18.64 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.616e-05/1.273, allocations: 40.61 kB / 1.277 GB, free: 18.62 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001711/1.273, allocations: 368.6 kB / 1.277 GB, free: 18.31 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/1.273, allocations: 168.9 kB / 1.277 GB, free: 18.31 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/1.274, allocations: 288.1 kB / 1.278 GB, free: 18.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007722/1.275, allocations: 459.1 kB / 1.278 GB, free: 18.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.275, allocations: 0.5 kB / 1.278 GB, free: 18.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00115/1.276, allocations: 0.5421 MB / 1.279 GB, free: 18.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.059e-05/1.276, allocations: 153.8 kB / 1.279 GB, free: 17.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/1.276, allocations: 3.203 kB / 1.279 GB, free: 17.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/1.276, allocations: 4.344 kB / 1.279 GB, free: 17.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008401/1.277, allocations: 147.4 kB / 1.279 GB, free: 17.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004025/1.277, allocations: 0.5895 MB / 1.28 GB, free: 17.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007374/1.278, allocations: 90 kB / 1.28 GB, free: 17.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/1.278, allocations: 18.67 kB / 1.28 GB, free: 17.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/1.278, allocations: 3.594 kB / 1.28 GB, free: 17.25 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008747/1.279, allocations: 466.4 kB / 1.28 GB, free: 17.24 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/1.279, allocations: 6.344 kB / 1.28 GB, free: 17.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/1.279, allocations: 4.5 kB / 1.28 GB, free: 17.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005157/1.28, allocations: 130.6 kB / 1.28 GB, free: 17.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/1.28, allocations: 8.109 kB / 1.28 GB, free: 17.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006262/1.28, allocations: 80.34 kB / 1.28 GB, free: 17.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/1.28, allocations: 17.78 kB / 1.28 GB, free: 17.21 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.0004215/1.281, allocations: 310.2 kB / 1.281 GB, free: 17.02 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-05/1.281, allocations: 62.56 kB / 1.281 GB, free: 16.98 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009482/1.282, allocations: 497.9 kB / 1.281 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/1.282, allocations: 7.406 kB / 1.281 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.282, allocations: 1.438 kB / 1.281 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008555/1.283, allocations: 0.718 MB / 1.282 GB, free: 16.48 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/1.285, allocations: 1.297 MB / 1.283 GB, free: 16.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.285, allocations: 2.781 kB / 1.283 GB, free: 16.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006606/1.285, allocations: 139.1 kB / 1.283 GB, free: 16.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/1.286, allocations: 5.953 kB / 1.283 GB, free: 16.09 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/1.286, allocations: 11.16 kB / 1.283 GB, free: 16.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003671/1.286, allocations: 0.5922 MB / 1.284 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/1.286, allocations: 10.17 kB / 1.284 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/1.287, allocations: 0.8139 MB / 1.285 GB, free: 15.26 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/1.287, allocations: 177.4 kB / 1.285 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.051e-05/1.288, allocations: 20.84 kB / 1.285 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005338/1.288, allocations: 51.03 kB / 1.285 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/1.288, allocations: 34.06 kB / 1.285 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/1.288, allocations: 14.47 kB / 1.285 GB, free: 15.12 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004727/1.289, allocations: 352.4 kB / 1.285 GB, free: 15.03 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.289, allocations: 0 / 1.285 GB, free: 15.03 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001164/1.29, allocations: 362.3 kB / 1.286 GB, free: 14.98 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.000519/1.29, allocations: 203.4 kB / 1.286 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001633/1.292, allocations: 0.6794 MB / 1.287 GB, free: 14.87 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.292, allocations: 0.8438 kB / 1.287 GB, free: 14.87 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000453/1.293, allocations: 229.4 kB / 1.287 GB, free: 14.86 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/1.295, allocations: 358.7 kB / 1.287 GB, free: 14.84 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/1.297, allocations: 1.736 MB / 1.289 GB, free: 13.88 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/1.298, allocations: 0.9461 MB / 1.29 GB, free: 13.17 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007943/1.298, allocations: 210.5 kB / 1.29 GB, free: 13.13 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/1.299, allocations: 53.22 kB / 1.29 GB, free: 13.12 MB / 1.014 GB Notification: Performance of SimCode: time 9.72e-07/1.299, allocations: 0 / 1.29 GB, free: 13.12 MB / 1.014 GB Notification: Performance of Templates: time 0.02221/1.321, allocations: 11.87 MB / 1.302 GB, free: 12.38 MB / 1.014 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)