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.00174/0.00174, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002177/0.002177, allocations: 199.2 kB / 16.14 MB, free: 6.695 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.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.833/2.833, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.8 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3765, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1814/0.5579, allocations: 182.8 MB / 1.246 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6274/1.185, allocations: 7.039 MB / 1.253 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009635/1.186, allocations: 26.97 kB / 1.253 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/1.187, allocations: 338.1 kB / 1.253 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003411/1.191, allocations: 1.366 MB / 1.255 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/1.194, allocations: 1.049 MB / 1.256 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003083/1.197, allocations: 2.715 MB / 1.258 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008765/1.198, allocations: 0.565 MB / 1.259 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/1.199, allocations: 0.7286 MB / 1.26 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/1.2, allocations: 0.6219 MB / 1.26 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.92e-05/1.2, allocations: 38.72 kB / 1.26 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003918/1.204, allocations: 2.19 MB / 1.262 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003513/1.205, allocations: 271.3 kB / 1.263 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005078/1.205, allocations: 394.9 kB / 1.263 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002927/1.208, allocations: 1.833 MB / 1.265 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/1.208, allocations: 0 / 1.265 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.12e-07/1.208, allocations: 0 / 1.265 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.271e-05/1.208, allocations: 0 / 1.265 GB, free: 5.301 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.002016/1.21, allocations: 1.16 MB / 1.266 GB, free: 20.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/1.21, allocations: 11.14 kB / 1.266 GB, free: 20.62 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/1.212, allocations: 272 kB / 1.266 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000858/1.213, allocations: 0.5848 MB / 1.267 GB, free: 20.29 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/1.213, allocations: 44.44 kB / 1.267 GB, free: 20.29 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-05/1.213, allocations: 50.89 kB / 1.267 GB, free: 20.29 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/1.214, allocations: 0.6345 MB / 1.267 GB, free: 20.21 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/1.214, allocations: 3.5 kB / 1.267 GB, free: 20.21 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-05/1.215, allocations: 23.72 kB / 1.267 GB, free: 20.21 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/1.215, allocations: 22.92 kB / 1.267 GB, free: 20.21 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009158/1.216, allocations: 0.5187 MB / 1.268 GB, free: 20.2 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.003357/1.219, allocations: 2.451 MB / 1.27 GB, free: 18.88 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007296/1.22, allocations: 359.9 kB / 1.271 GB, free: 18.85 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004195/1.22, allocations: 236.2 kB / 1.271 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006501/1.221, allocations: 312 kB / 1.271 GB, free: 18.56 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/1.221, allocations: 41.97 kB / 1.271 GB, free: 18.52 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 3.025e-06/1.221, allocations: 0 / 1.271 GB, free: 18.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=39): time 0.001535/1.222, allocations: 0.6207 MB / 1.272 GB, free: 18.44 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/1.222, allocations: 56.19 kB / 1.272 GB, free: 18.38 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006437/1.223, allocations: 0.4942 MB / 1.272 GB, free: 18.26 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/1.223, allocations: 32.36 kB / 1.272 GB, free: 18.23 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/1.223, allocations: 324.7 kB / 1.273 GB, free: 18.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/1.223, allocations: 148.6 kB / 1.273 GB, free: 17.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/1.224, allocations: 85.67 kB / 1.273 GB, free: 17.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.224, allocations: 365.1 kB / 1.273 GB, free: 17.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/1.224, allocations: 173.9 kB / 1.274 GB, free: 17.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/1.225, allocations: 280.3 kB / 1.274 GB, free: 17.53 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007472/1.225, allocations: 450.2 kB / 1.274 GB, free: 17.44 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.225, allocations: 1.281 kB / 1.274 GB, free: 17.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001012/1.226, allocations: 0.5339 MB / 1.275 GB, free: 17.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/1.226, allocations: 6.625 kB / 1.275 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/1.226, allocations: 2.625 kB / 1.275 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/1.226, allocations: 4.594 kB / 1.275 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008518/1.227, allocations: 133.4 kB / 1.275 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004052/1.228, allocations: 0.5932 MB / 1.275 GB, free: 16.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007199/1.228, allocations: 82.78 kB / 1.276 GB, free: 16.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.006e-05/1.228, allocations: 19.25 kB / 1.276 GB, free: 16.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006478/1.229, allocations: 357.6 kB / 1.276 GB, free: 16.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004564/1.23, allocations: 278.1 kB / 1.276 GB, free: 16.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006715/1.23, allocations: 455.1 kB / 1.277 GB, free: 16.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.295e-06/1.23, allocations: 1.281 kB / 1.277 GB, free: 16.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008989/1.231, allocations: 0.5201 MB / 1.277 GB, free: 16.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/1.231, allocations: 14.09 kB / 1.277 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.231, allocations: 9.109 kB / 1.277 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.241e-06/1.231, allocations: 4.031 kB / 1.277 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/1.232, allocations: 116.5 kB / 1.277 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/1.232, allocations: 6.875 kB / 1.277 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006329/1.232, allocations: 72.92 kB / 1.277 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/1.232, allocations: 17.84 kB / 1.277 GB, free: 16.36 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.0001834/1.233, allocations: 207.8 kB / 1.278 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/1.233, allocations: 67.84 kB / 1.278 GB, free: 16.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009188/1.234, allocations: 482.8 kB / 1.278 GB, free: 16.09 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.234, allocations: 4.062 kB / 1.278 GB, free: 16.09 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.234, allocations: 0.6094 kB / 1.278 GB, free: 16.09 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008113/1.235, allocations: 0.7132 MB / 1.279 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/1.237, allocations: 1.287 MB / 1.28 GB, free: 15.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.237, allocations: 2.844 kB / 1.28 GB, free: 15.26 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006391/1.237, allocations: 122.7 kB / 1.28 GB, free: 15.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/1.237, allocations: 3.25 kB / 1.28 GB, free: 15.26 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/1.237, allocations: 10.52 kB / 1.28 GB, free: 15.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003078/1.238, allocations: 0.6013 MB / 1.281 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/1.238, allocations: 2.688 kB / 1.281 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/1.239, allocations: 0.7867 MB / 1.282 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/1.239, allocations: 189.8 kB / 1.282 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-05/1.239, allocations: 9.328 kB / 1.282 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005185/1.24, allocations: 45.2 kB / 1.282 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/1.24, allocations: 30.27 kB / 1.282 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/1.24, allocations: 21.33 kB / 1.282 GB, free: 14.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000484/1.24, allocations: 350 kB / 1.282 GB, free: 14.21 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.24, allocations: 0 / 1.282 GB, free: 14.21 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001136/1.242, allocations: 365.3 kB / 1.282 GB, free: 14.17 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.0004996/1.242, allocations: 214 kB / 1.283 GB, free: 14.05 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001529/1.244, allocations: 0.6701 MB / 1.283 GB, free: 14.04 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.244, allocations: 0 / 1.283 GB, free: 14.04 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004624/1.244, allocations: 223.2 kB / 1.284 GB, free: 14.04 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/1.246, allocations: 361.7 kB / 1.284 GB, free: 14.01 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/1.248, allocations: 1.643 MB / 1.285 GB, free: 13.09 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/1.249, allocations: 0.9466 MB / 1.286 GB, free: 12.38 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008208/1.25, allocations: 204.6 kB / 1.287 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/1.25, allocations: 47.5 kB / 1.287 GB, free: 12.35 MB / 1.014 GB Notification: Performance of SimCode: time 5.61e-07/1.25, allocations: 1.094 kB / 1.287 GB, free: 12.35 MB / 1.014 GB Notification: Performance of Templates: time 0.02092/1.271, allocations: 11.94 MB / 1.298 GB, free: 11.62 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)