Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.303/2.303, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 195.4 kB / 499.1 MB, free: 4.672 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 110.5 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 49.33 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2432, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1531/0.3964, allocations: 182.8 MB / 1.397 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.009701/0.4061, allocations: 7.056 MB / 1.403 GB, free: 6.688 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.4074, allocations: 27.81 kB / 1.404 GB, free: 6.66 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.4087, allocations: 350.2 kB / 1.404 GB, free: 6.316 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003749/0.4126, allocations: 1.358 MB / 1.405 GB, free: 4.953 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002879/0.4154, allocations: 1.05 MB / 1.406 GB, free: 3.906 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.003004/0.4185, allocations: 2.727 MB / 1.409 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008056/0.4193, allocations: 0.5565 MB / 1.409 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.4207, allocations: 0.7393 MB / 1.41 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.422, allocations: 0.6233 MB / 1.411 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 9.434e-05/0.4221, allocations: 36 kB / 1.411 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003625/0.4257, allocations: 2.198 MB / 1.413 GB, free: 13 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002962/0.426, allocations: 263.2 kB / 1.413 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0004416/0.4265, allocations: 398 kB / 1.414 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00255/0.4291, allocations: 1.838 MB / 1.415 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.4291, allocations: 0 / 1.415 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4291, allocations: 0 / 1.415 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.4291, allocations: 0 / 1.415 GB, free: 10.51 MB / 0.9167 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.001811/0.4309, allocations: 1.161 MB / 1.416 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.431, allocations: 11.98 kB / 1.416 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/0.4327, allocations: 266.8 kB / 1.417 GB, free: 9.027 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.4337, allocations: 0.5792 MB / 1.417 GB, free: 8.402 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.49e-05/0.4338, allocations: 45.31 kB / 1.417 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-05/0.4339, allocations: 52 kB / 1.417 GB, free: 8.309 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.4349, allocations: 0.6362 MB / 1.418 GB, free: 7.656 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.435, allocations: 11.88 kB / 1.418 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-05/0.435, allocations: 20 kB / 1.418 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/0.4351, allocations: 21.31 kB / 1.418 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008889/0.436, allocations: 0.5165 MB / 1.419 GB, free: 7.086 MB / 0.9167 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.00292/0.4389, allocations: 2.453 MB / 1.421 GB, free: 4.418 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006146/0.4395, allocations: 364.1 kB / 1.421 GB, free: 4.055 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/0.4399, allocations: 235.8 kB / 1.422 GB, free: 3.824 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005259/0.4404, allocations: 307.6 kB / 1.422 GB, free: 3.469 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.4405, allocations: 46.88 kB / 1.422 GB, free: 3.414 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=39): time 2.195e-06/0.4405, allocations: 0 / 1.422 GB, free: 3.414 MB / 0.9167 GB Notification: Performance of matching and sorting (n=39): time 0.001285/0.4418, allocations: 0.6096 MB / 1.422 GB, free: 2.801 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.4418, allocations: 55.41 kB / 1.423 GB, free: 2.734 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005112/0.4423, allocations: 0.499 MB / 1.423 GB, free: 2.223 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.4424, allocations: 33.64 kB / 1.423 GB, free: 2.184 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.4426, allocations: 328.4 kB / 1.423 GB, free: 1.859 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.4427, allocations: 138 kB / 1.424 GB, free: 1.723 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.4428, allocations: 90.03 kB / 1.424 GB, free: 1.629 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.443, allocations: 370.7 kB / 1.424 GB, free: 1.258 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.4433, allocations: 178.4 kB / 1.424 GB, free: 1.082 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003858/0.4437, allocations: 283.3 kB / 1.424 GB, free: 0.7617 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000665/0.4444, allocations: 456.3 kB / 1.425 GB, free: 292 kB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4444, allocations: 0 / 1.425 GB, free: 292 kB / 0.9167 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.471/0.9154, allocations: 0.5087 MB / 1.425 GB, free: 207.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.9155, allocations: 6.984 kB / 1.425 GB, free: 207.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.9155, allocations: 2.312 kB / 1.425 GB, free: 207.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.9155, allocations: 5.969 kB / 1.425 GB, free: 207.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007472/0.9163, allocations: 131.8 kB / 1.425 GB, free: 207.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003205/0.9166, allocations: 0.5976 MB / 1.426 GB, free: 206.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007169/0.9173, allocations: 81.84 kB / 1.426 GB, free: 206.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.9174, allocations: 21.48 kB / 1.426 GB, free: 206.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005816/0.918, allocations: 356.2 kB / 1.426 GB, free: 206.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003939/0.9184, allocations: 277.3 kB / 1.427 GB, free: 206.4 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006831/0.9191, allocations: 452.5 kB / 1.427 GB, free: 206.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.9191, allocations: 0 / 1.427 GB, free: 206.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009155/0.92, allocations: 0.5238 MB / 1.428 GB, free: 206.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.92, allocations: 5.438 kB / 1.428 GB, free: 206.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.9201, allocations: 6.875 kB / 1.428 GB, free: 206.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/0.9201, allocations: 4.594 kB / 1.428 GB, free: 206.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.9206, allocations: 119.6 kB / 1.428 GB, free: 206.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.9206, allocations: 4.719 kB / 1.428 GB, free: 206.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005964/0.9212, allocations: 75.03 kB / 1.428 GB, free: 206.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.9212, allocations: 19.3 kB / 1.428 GB, free: 206.1 MB / 0.9167 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.0001502/0.9214, allocations: 205.6 kB / 1.428 GB, free: 205.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.619e-05/0.9215, allocations: 59.56 kB / 1.428 GB, free: 205.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009236/0.9225, allocations: 481.8 kB / 1.429 GB, free: 205.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.9225, allocations: 12.09 kB / 1.429 GB, free: 205.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.9225, allocations: 1.766 kB / 1.429 GB, free: 205.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007222/0.9232, allocations: 0.7101 MB / 1.429 GB, free: 205.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.9253, allocations: 1.286 MB / 1.431 GB, free: 204.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.9253, allocations: 2.312 kB / 1.431 GB, free: 204.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/0.926, allocations: 129.5 kB / 1.431 GB, free: 204.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/0.926, allocations: 6.906 kB / 1.431 GB, free: 204.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.926, allocations: 11.81 kB / 1.431 GB, free: 204.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001873/0.9262, allocations: 0.5971 MB / 1.431 GB, free: 203.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.9262, allocations: 6.703 kB / 1.431 GB, free: 203.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008767/0.935, allocations: 4.427 MB / 1.436 GB, free: 201.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.9353, allocations: 180 kB / 1.436 GB, free: 201.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.593e-05/0.9354, allocations: 9.172 kB / 1.436 GB, free: 201.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/0.9358, allocations: 53.98 kB / 1.436 GB, free: 201.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.9359, allocations: 31.31 kB / 1.436 GB, free: 201.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.936, allocations: 18.94 kB / 1.436 GB, free: 201.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003864/0.9364, allocations: 353.6 kB / 1.436 GB, free: 201.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.71e-07/0.9364, allocations: 0 / 1.436 GB, free: 201.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001935/0.9383, allocations: 0.5621 MB / 1.437 GB, free: 201 MB / 0.9167 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.0004483/0.9388, allocations: 219.1 kB / 1.437 GB, free: 200.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001475/0.9403, allocations: 0.6786 MB / 1.438 GB, free: 200.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.9403, allocations: 0 / 1.438 GB, free: 200.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004235/0.9407, allocations: 231.4 kB / 1.438 GB, free: 200.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.9425, allocations: 356.1 kB / 1.438 GB, free: 200.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.9449, allocations: 1.916 MB / 1.44 GB, free: 199.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/0.9454, allocations: 0.9576 MB / 1.441 GB, free: 198.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0008647/0.9463, allocations: 217.5 kB / 1.441 GB, free: 198.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.9465, allocations: 52.44 kB / 1.441 GB, free: 198.6 MB / 0.9167 GB Notification: Performance of SimCode: time 9.61e-07/0.9465, allocations: 0 / 1.441 GB, free: 198.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.03118/0.9777, allocations: 13.51 MB / 1.455 GB, free: 194.1 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)