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.004861/0.004861, allocations: 100.6 kB / 15.73 MB, free: 6.047 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.001143/0.001143, allocations: 190.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.612/1.612, allocations: 251.7 MB / 0.5094 GB, free: 2.984 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.001628/0.001628, allocations: 71.89 kB / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.27, allocations: 104.7 MB / 0.8281 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.9151/1.185, allocations: 185.2 MB / 1.009 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01227/1.198, allocations: 7.025 MB / 1.016 GB, free: 7.309 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/1.199, allocations: 30.16 kB / 1.016 GB, free: 7.297 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/1.201, allocations: 415.7 kB / 1.016 GB, free: 6.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004908/1.206, allocations: 1.502 MB / 1.018 GB, free: 5.812 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003805/1.21, allocations: 1.205 MB / 1.019 GB, free: 4.914 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00324/1.213, allocations: 1.989 MB / 1.021 GB, free: 3.777 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/1.214, allocations: 0.6692 MB / 1.021 GB, free: 3.363 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/1.216, allocations: 0.8678 MB / 1.022 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/1.218, allocations: 0.6084 MB / 1.023 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002249/1.218, allocations: 68.41 kB / 1.023 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004379/1.223, allocations: 1.941 MB / 1.025 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0005122/1.223, allocations: 296.2 kB / 1.025 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/1.224, allocations: 437.3 kB / 1.026 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004566/1.229, allocations: 1.784 MB / 1.027 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/1.229, allocations: 0 / 1.027 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.225e-06/1.229, allocations: 0 / 1.027 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.207e-05/1.229, allocations: 4 kB / 1.027 GB, free: 15.83 MB / 0.7794 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.003055/1.232, allocations: 1.162 MB / 1.028 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.232, allocations: 7.688 kB / 1.028 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/1.234, allocations: 272.7 kB / 1.029 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/1.236, allocations: 0.6126 MB / 1.029 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/1.236, allocations: 44.28 kB / 1.029 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/1.236, allocations: 56.94 kB / 1.029 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/1.237, allocations: 0.6383 MB / 1.03 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/1.237, allocations: 3.938 kB / 1.03 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.958e-05/1.237, allocations: 24 kB / 1.03 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.08e-05/1.237, allocations: 25.23 kB / 1.03 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/1.238, allocations: 0.5204 MB / 1.031 GB, free: 13.2 MB / 0.7794 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.003657/1.242, allocations: 2.457 MB / 1.033 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/1.243, allocations: 371.7 kB / 1.033 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004002/1.243, allocations: 245.3 kB / 1.034 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005988/1.244, allocations: 299.6 kB / 1.034 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/1.244, allocations: 39.22 kB / 1.034 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=39): time 2.164e-06/1.244, allocations: 0 / 1.034 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39): time 0.001554/1.245, allocations: 0.6099 MB / 1.035 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/1.245, allocations: 55.41 kB / 1.035 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006406/1.246, allocations: 0.4949 MB / 1.035 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/1.246, allocations: 33.7 kB / 1.035 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/1.246, allocations: 328.4 kB / 1.035 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/1.247, allocations: 138 kB / 1.036 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/1.247, allocations: 90.12 kB / 1.036 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.247, allocations: 366.8 kB / 1.036 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/1.247, allocations: 170.5 kB / 1.036 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/1.248, allocations: 283.4 kB / 1.036 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007591/1.248, allocations: 444.2 kB / 1.037 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.248, allocations: 0 / 1.037 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009823/1.249, allocations: 0.5224 MB / 1.037 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.249, allocations: 8 kB / 1.037 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/1.249, allocations: 4 kB / 1.037 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/1.25, allocations: 4 kB / 1.037 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007442/1.25, allocations: 136.1 kB / 1.037 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004133/1.251, allocations: 0.5976 MB / 1.038 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006228/1.251, allocations: 52.92 kB / 1.038 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/1.251, allocations: 24.09 kB / 1.038 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005497/1.252, allocations: 344.9 kB / 1.038 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004291/1.252, allocations: 275.4 kB / 1.039 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007072/1.253, allocations: 449.2 kB / 1.039 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.121e-06/1.253, allocations: 0 / 1.039 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009207/1.254, allocations: 0.5202 MB / 1.04 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/1.254, allocations: 7.938 kB / 1.04 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/1.254, allocations: 4 kB / 1.04 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.942e-06/1.254, allocations: 4 kB / 1.04 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005116/1.255, allocations: 115.9 kB / 1.04 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/1.255, allocations: 7.938 kB / 1.04 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/1.255, allocations: 43.78 kB / 1.04 GB, free: 3.223 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/1.255, allocations: 16 kB / 1.04 GB, free: 3.207 MB / 0.7794 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.0002095/1.255, allocations: 209 kB / 1.04 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/1.256, allocations: 59.28 kB / 1.04 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009296/1.257, allocations: 483.7 kB / 1.041 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/1.257, allocations: 4 kB / 1.041 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.257, allocations: 7.938 kB / 1.041 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007994/1.257, allocations: 0.7004 MB / 1.041 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/1.259, allocations: 1.277 MB / 1.043 GB, free: 308 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/1.259, allocations: 0 / 1.043 GB, free: 308 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006351/1.26, allocations: 126.5 kB / 1.043 GB, free: 184 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/1.26, allocations: 4 kB / 1.043 GB, free: 180 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/1.26, allocations: 17.03 kB / 1.043 GB, free: 164 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003427/1.261, allocations: 0.5976 MB / 1.043 GB, free: 15.54 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.261, allocations: 4.031 kB / 1.043 GB, free: 15.54 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/1.262, allocations: 0.8143 MB / 1.044 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/1.262, allocations: 192.2 kB / 1.044 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/1.262, allocations: 8 kB / 1.044 GB, free: 14.47 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004724/1.263, allocations: 28.11 kB / 1.044 GB, free: 14.44 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/1.263, allocations: 35.94 kB / 1.044 GB, free: 14.41 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/1.263, allocations: 12 kB / 1.044 GB, free: 14.39 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004547/1.263, allocations: 354.8 kB / 1.045 GB, free: 14.05 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/1.263, allocations: 0 / 1.045 GB, free: 14.05 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001124/1.264, allocations: 367.1 kB / 1.045 GB, free: 13.69 MB / 0.795 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 (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.0005968/1.265, allocations: 216.4 kB / 1.045 GB, free: 13.48 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00152/1.267, allocations: 0.6574 MB / 1.046 GB, free: 12.83 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.267, allocations: 0 / 1.046 GB, free: 12.83 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004593/1.267, allocations: 215.7 kB / 1.046 GB, free: 12.62 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/1.269, allocations: 369.5 kB / 1.046 GB, free: 12.27 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/1.271, allocations: 1.373 MB / 1.048 GB, free: 10.84 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005892/1.272, allocations: 0.9418 MB / 1.049 GB, free: 9.871 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006601/1.273, allocations: 208.9 kB / 1.049 GB, free: 9.664 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/1.273, allocations: 47.44 kB / 1.049 GB, free: 9.617 MB / 0.795 GB Notification: Performance of SimCode: time 7.31e-07/1.273, allocations: 0 / 1.049 GB, free: 9.617 MB / 0.795 GB Notification: Performance of Templates: time 0.02414/1.297, allocations: 12.58 MB / 1.061 GB, free: 13.25 MB / 0.8106 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.makefile (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)