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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.301/1.301, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009343/0.0009344, allocations: 181.5 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205 MB / 0.5767 GB, free: 21.05 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006722/0.0006723, allocations: 98.2 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002789/0.0002789, allocations: 8.656 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1463, allocations: 105.4 MB / 0.8968 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.5104/0.6567, allocations: 182.7 MB / 1.075 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008953/0.6657, allocations: 7.115 MB / 1.082 GB, free: 1.594 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007868/0.6665, allocations: 25.81 kB / 1.082 GB, free: 1.594 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009513/0.6675, allocations: 341.2 kB / 1.082 GB, free: 1.586 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.6706, allocations: 1.368 MB / 1.084 GB, free: 1.516 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.6732, allocations: 1.069 MB / 1.085 GB, free: 1.473 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002486/0.6757, allocations: 2.769 MB / 1.088 GB, free: 1.469 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006346/0.6764, allocations: 0.5483 MB / 1.088 GB, free: 1.375 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.6775, allocations: 0.7405 MB / 1.089 GB, free: 1.363 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.6786, allocations: 0.6045 MB / 1.089 GB, free: 1.359 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.361e-05/0.6787, allocations: 32.41 kB / 1.089 GB, free: 1.359 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003136/0.6818, allocations: 2.187 MB / 1.092 GB, free: 1.336 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.6821, allocations: 259.9 kB / 1.092 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003793/0.6825, allocations: 381.3 kB / 1.092 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.6846, allocations: 1.834 MB / 1.094 GB, free: 1.238 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6846, allocations: 0 / 1.094 GB, free: 1.238 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6846, allocations: 0 / 1.094 GB, free: 1.238 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.6846, allocations: 0 / 1.094 GB, free: 1.238 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001488/0.6861, allocations: 1.019 MB / 1.095 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.6862, allocations: 8.062 kB / 1.095 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.6878, allocations: 271.4 kB / 1.095 GB, free: 16.53 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000781/0.6886, allocations: 0.5746 MB / 1.096 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.6887, allocations: 44.97 kB / 1.096 GB, free: 16.24 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-05/0.6888, allocations: 54.22 kB / 1.096 GB, free: 16.24 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009102/0.6897, allocations: 0.6555 MB / 1.096 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.6897, allocations: 0 / 1.096 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/0.6898, allocations: 19.94 kB / 1.097 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.6898, allocations: 20 kB / 1.097 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007786/0.6906, allocations: 0.537 MB / 1.097 GB, free: 16.15 MB / 0.7136 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.002507/0.6931, allocations: 2.464 MB / 1.099 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004905/0.6936, allocations: 375.7 kB / 1.1 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.6939, allocations: 240.5 kB / 1.1 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005609/0.6945, allocations: 322.8 kB / 1.1 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.6945, allocations: 42.28 kB / 1.1 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 1.773e-06/0.6945, allocations: 0 / 1.1 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.001241/0.6958, allocations: 0.6371 MB / 1.101 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.6958, allocations: 54.34 kB / 1.101 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/0.6963, allocations: 0.4914 MB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.6964, allocations: 32.52 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.6965, allocations: 320.2 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.761e-05/0.6966, allocations: 138 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.6967, allocations: 45.72 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6969, allocations: 363.5 kB / 1.102 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.6972, allocations: 174.3 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.6975, allocations: 285.5 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006484/0.6982, allocations: 453.7 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6982, allocations: 3.531 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007934/0.699, allocations: 0.523 MB / 1.104 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.039e-05/0.6991, allocations: 163.2 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6991, allocations: 3 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.6991, allocations: 2.938 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000679/0.6998, allocations: 142.7 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003553/0.7002, allocations: 0.5953 MB / 1.105 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005722/0.7007, allocations: 81.75 kB / 1.105 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.7008, allocations: 18.72 kB / 1.105 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.27e-06/0.7008, allocations: 2.969 kB / 1.105 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006843/0.7015, allocations: 465.2 kB / 1.105 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.7015, allocations: 7.188 kB / 1.105 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-06/0.7015, allocations: 2.969 kB / 1.105 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.702, allocations: 129.5 kB / 1.105 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.702, allocations: 6.688 kB / 1.105 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/0.7025, allocations: 79.5 kB / 1.105 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.7025, allocations: 24.89 kB / 1.105 GB, free: 12.48 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 (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.0002983/0.7028, allocations: 306 kB / 1.106 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.172e-05/0.7029, allocations: 69.62 kB / 1.106 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000828/0.7038, allocations: 487.8 kB / 1.106 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007285/0.7045, allocations: 0.7191 MB / 1.107 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7045, allocations: 0 / 1.107 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.7048, allocations: 187.8 kB / 1.107 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.291e-05/0.7048, allocations: 9.469 kB / 1.107 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.7053, allocations: 47.8 kB / 1.107 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.094e-05/0.7054, allocations: 24.95 kB / 1.107 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001241/0.7066, allocations: 0.6028 MB / 1.108 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001121/0.7078, allocations: 0.8717 MB / 1.109 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002681/0.7081, allocations: 196 kB / 1.109 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00033/0.7084, allocations: 347.9 kB / 1.109 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of Backend: time 6.31e-07/0.7084, allocations: 0 / 1.109 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002417/0.7108, allocations: 0.9835 MB / 1.11 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of SimCode: time 0.002893/0.7137, allocations: 2.172 MB / 1.112 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of Templates: time 0.02414/0.7379, allocations: 16.93 MB / 1.129 GB, free: 4.848 MB / 0.7136 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)