Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.663/1.663, allocations: 288.4 MB / 303.6 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009342/0.0009342, allocations: 188.5 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.4 MB / 0.631 GB, free: 9.867 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008559/0.0008558, allocations: 94.73 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.0004199, allocations: 16.69 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2691, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.8101/1.079, allocations: 168.3 MB / 1.144 GB, free: 12.88 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01123/1.091, allocations: 6.484 MB / 1.151 GB, free: 10.66 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/1.092, allocations: 25.03 kB / 1.151 GB, free: 10.65 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00117/1.093, allocations: 301.1 kB / 1.151 GB, free: 10.45 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004202/1.097, allocations: 1.257 MB / 1.152 GB, free: 9.645 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00365/1.101, allocations: 0.9465 MB / 1.153 GB, free: 9.078 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003922/1.105, allocations: 2.299 MB / 1.156 GB, free: 7.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/1.106, allocations: 0.5401 MB / 1.156 GB, free: 7.406 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/1.109, allocations: 0.7077 MB / 1.157 GB, free: 7.02 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/1.111, allocations: 0.5676 MB / 1.157 GB, free: 6.711 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002616/1.111, allocations: 30.28 kB / 1.157 GB, free: 6.711 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005685/1.117, allocations: 2.152 MB / 1.159 GB, free: 5.492 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006548/1.118, allocations: 246.5 kB / 1.16 GB, free: 5.336 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001401/1.119, allocations: 393.1 kB / 1.16 GB, free: 5.098 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002983/1.122, allocations: 1.251 MB / 1.161 GB, free: 4.352 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/1.122, allocations: 0 / 1.161 GB, free: 4.352 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/1.122, allocations: 1.719 kB / 1.161 GB, free: 4.352 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.932e-05/1.122, allocations: 0 / 1.161 GB, free: 4.352 MB / 0.698 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.003116/1.125, allocations: 1.013 MB / 1.162 GB, free: 3.531 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/1.125, allocations: 9.062 kB / 1.162 GB, free: 3.531 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002334/1.128, allocations: 276.6 kB / 1.163 GB, free: 3.402 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/1.129, allocations: 0.5704 MB / 1.163 GB, free: 2.926 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.042e-05/1.129, allocations: 40.25 kB / 1.163 GB, free: 2.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/1.13, allocations: 60.75 kB / 1.163 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/1.131, allocations: 0.6421 MB / 1.164 GB, free: 2.496 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/1.131, allocations: 1.312 kB / 1.164 GB, free: 2.496 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-05/1.131, allocations: 20.19 kB / 1.164 GB, free: 2.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.905e-05/1.131, allocations: 20.09 kB / 1.164 GB, free: 2.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/1.133, allocations: 0.5236 MB / 1.164 GB, free: 2.23 MB / 0.698 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.004784/1.138, allocations: 2.453 MB / 1.167 GB, free: 84 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008038/1.138, allocations: 388.5 kB / 1.167 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000465/1.139, allocations: 241.5 kB / 1.167 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006463/1.139, allocations: 317.8 kB / 1.168 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.434e-05/1.14, allocations: 41.08 kB / 1.168 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 3.366e-06/1.14, allocations: 0 / 1.168 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.001619/1.141, allocations: 0.6196 MB / 1.168 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/1.141, allocations: 55.72 kB / 1.168 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008119/1.142, allocations: 0.4898 MB / 1.169 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-05/1.142, allocations: 41.7 kB / 1.169 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000306/1.142, allocations: 321.6 kB / 1.169 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/1.143, allocations: 142.6 kB / 1.169 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/1.143, allocations: 5.375 kB / 1.169 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002094/1.143, allocations: 364.8 kB / 1.17 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/1.143, allocations: 171.5 kB / 1.17 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005082/1.144, allocations: 289 kB / 1.17 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009117/1.145, allocations: 453.8 kB / 1.171 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.145, allocations: 1.094 kB / 1.171 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001282/1.146, allocations: 0.5264 MB / 1.171 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001813/1.146, allocations: 158.3 kB / 1.171 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/1.146, allocations: 9.844 kB / 1.171 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.804e-05/1.146, allocations: 4.938 kB / 1.171 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008665/1.147, allocations: 148.5 kB / 1.171 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005574/1.148, allocations: 0.5997 MB / 1.172 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008318/1.149, allocations: 79.31 kB / 1.172 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/1.149, allocations: 21.77 kB / 1.172 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/1.149, allocations: 2.906 kB / 1.172 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008793/1.15, allocations: 458.2 kB / 1.172 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.15, allocations: 4.906 kB / 1.172 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/1.15, allocations: 6.812 kB / 1.172 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/1.15, allocations: 128 kB / 1.173 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/1.15, allocations: 10.72 kB / 1.173 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007308/1.151, allocations: 71.69 kB / 1.173 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/1.151, allocations: 20.62 kB / 1.173 GB, free: 11.9 MB / 0.7136 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004538/1.151, allocations: 302.4 kB / 1.173 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/1.152, allocations: 58.88 kB / 1.173 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009714/1.153, allocations: 0.4948 MB / 1.174 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/1.153, allocations: 5.906 kB / 1.174 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.153, allocations: 0 / 1.174 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008844/1.153, allocations: 0.7158 MB / 1.174 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/1.156, allocations: 1.285 MB / 1.175 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.156, allocations: 3 kB / 1.175 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006381/1.157, allocations: 137.5 kB / 1.176 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/1.157, allocations: 2.844 kB / 1.176 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/1.157, allocations: 13.12 kB / 1.176 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004095/1.157, allocations: 0.5944 MB / 1.176 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.157, allocations: 2.875 kB / 1.176 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/1.159, allocations: 0.8398 MB / 1.177 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004655/1.159, allocations: 185.2 kB / 1.177 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/1.159, allocations: 17.38 kB / 1.177 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005931/1.16, allocations: 43.5 kB / 1.177 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.104e-05/1.16, allocations: 30.05 kB / 1.177 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/1.16, allocations: 14.53 kB / 1.177 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004966/1.16, allocations: 343.3 kB / 1.178 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/1.16, allocations: 2.719 kB / 1.178 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001334/1.162, allocations: 367.5 kB / 1.178 GB, free: 8.098 MB / 0.7136 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006442/1.162, allocations: 202.2 kB / 1.178 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001585/1.164, allocations: 0.6845 MB / 1.179 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/1.164, allocations: 0 / 1.179 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004559/1.165, allocations: 227.9 kB / 1.179 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/1.166, allocations: 353.9 kB / 1.179 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/1.169, allocations: 1.723 MB / 1.181 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006064/1.17, allocations: 0.9518 MB / 1.182 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007792/1.171, allocations: 205.6 kB / 1.182 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/1.171, allocations: 49.88 kB / 1.182 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of SimCode: time 8.12e-07/1.171, allocations: 2.844 kB / 1.182 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of Templates: time 0.02338/1.194, allocations: 11.76 MB / 1.194 GB, free: 15.18 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)