Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.837/1.837, allocations: 287.5 MB / 302.6 MB, free: 8.223 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.0009385/0.0009384, allocations: 178.9 kB / 371.2 MB, free: 10.75 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.467/1.467, allocations: 205.4 MB / 0.6299 GB, free: 10.54 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.0007032/0.0007036, allocations: 84.94 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004205/0.0004206, allocations: 12.75 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2496, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.7157/0.9653, allocations: 168.3 MB / 1.143 GB, free: 12.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01005/0.9754, allocations: 6.472 MB / 1.149 GB, free: 10.52 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.9767, allocations: 23.34 kB / 1.149 GB, free: 10.5 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.9778, allocations: 270.9 kB / 1.15 GB, free: 10.39 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003894/0.9817, allocations: 1.053 MB / 1.151 GB, free: 9.941 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003308/0.9851, allocations: 0.831 MB / 1.151 GB, free: 9.723 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003617/0.9887, allocations: 2.3 MB / 1.154 GB, free: 8.98 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.9899, allocations: 0.5403 MB / 1.154 GB, free: 8.668 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/0.992, allocations: 0.6831 MB / 1.155 GB, free: 8.301 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.9933, allocations: 0.5713 MB / 1.155 GB, free: 7.988 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.9934, allocations: 30.56 kB / 1.156 GB, free: 7.988 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004017/0.9974, allocations: 1.131 MB / 1.157 GB, free: 7.395 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004772/0.9979, allocations: 248.5 kB / 1.157 GB, free: 7.238 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005655/0.9985, allocations: 174.8 kB / 1.157 GB, free: 7.141 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002721/1.001, allocations: 1.144 MB / 1.158 GB, free: 6.438 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.001, allocations: 1.312 kB / 1.158 GB, free: 6.438 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/1.001, allocations: 0 / 1.158 GB, free: 6.438 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.333e-05/1.001, allocations: 0 / 1.158 GB, free: 6.438 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.003202/1.005, allocations: 1.016 MB / 1.159 GB, free: 5.613 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/1.005, allocations: 9.344 kB / 1.159 GB, free: 5.613 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002357/1.007, allocations: 269.3 kB / 1.159 GB, free: 5.492 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/1.008, allocations: 0.5783 MB / 1.16 GB, free: 5.008 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.369e-05/1.009, allocations: 43.69 kB / 1.16 GB, free: 4.988 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/1.009, allocations: 62.06 kB / 1.16 GB, free: 4.965 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/1.01, allocations: 0.6338 MB / 1.161 GB, free: 4.582 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/1.01, allocations: 5.344 kB / 1.161 GB, free: 4.578 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.792e-05/1.01, allocations: 20.66 kB / 1.161 GB, free: 4.562 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.151e-05/1.01, allocations: 18.47 kB / 1.161 GB, free: 4.562 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/1.011, allocations: 0.5245 MB / 1.161 GB, free: 4.312 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.003864/1.015, allocations: 2.455 MB / 1.164 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006919/1.016, allocations: 382.5 kB / 1.164 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004096/1.016, allocations: 243.5 kB / 1.164 GB, free: 1.844 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006547/1.017, allocations: 317.5 kB / 1.165 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/1.017, allocations: 41.5 kB / 1.165 GB, free: 1.488 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 2.615e-06/1.017, allocations: 0 / 1.165 GB, free: 1.488 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.001581/1.019, allocations: 0.619 MB / 1.165 GB, free: 1.188 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/1.019, allocations: 63.91 kB / 1.165 GB, free: 1.117 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006827/1.02, allocations: 493.4 kB / 1.166 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/1.02, allocations: 36.86 kB / 1.166 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/1.02, allocations: 329.2 kB / 1.166 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/1.02, allocations: 140.4 kB / 1.166 GB, free: 380 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/1.02, allocations: 9.062 kB / 1.166 GB, free: 372 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001856/1.02, allocations: 364.8 kB / 1.167 GB, free: 12 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/1.021, allocations: 167.4 kB / 1.167 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/1.021, allocations: 292.8 kB / 1.167 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008067/1.022, allocations: 459 kB / 1.167 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.022, allocations: 0 / 1.167 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001113/1.023, allocations: 0.5235 MB / 1.168 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/1.023, allocations: 153.6 kB / 1.168 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/1.023, allocations: 7.156 kB / 1.168 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/1.023, allocations: 7.906 kB / 1.168 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000796/1.024, allocations: 144.8 kB / 1.168 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004174/1.024, allocations: 0.6005 MB / 1.169 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007883/1.025, allocations: 78.89 kB / 1.169 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/1.025, allocations: 21.89 kB / 1.169 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/1.025, allocations: 4.406 kB / 1.169 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000881/1.026, allocations: 467.4 kB / 1.169 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.026, allocations: 6.281 kB / 1.169 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/1.026, allocations: 8.906 kB / 1.169 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/1.027, allocations: 124.4 kB / 1.169 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/1.027, allocations: 8.375 kB / 1.169 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000674/1.028, allocations: 75 kB / 1.17 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/1.028, allocations: 17.94 kB / 1.17 GB, free: 13.97 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.0004831/1.028, allocations: 309.3 kB / 1.17 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/1.028, allocations: 60.91 kB / 1.17 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009906/1.029, allocations: 494.6 kB / 1.17 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/1.029, allocations: 8.406 kB / 1.17 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.029, allocations: 0 / 1.17 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001028/1.03, allocations: 0.7056 MB / 1.171 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/1.032, allocations: 1.289 MB / 1.172 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/1.032, allocations: 2.656 kB / 1.172 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006432/1.033, allocations: 145.8 kB / 1.173 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/1.033, allocations: 6.875 kB / 1.173 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/1.033, allocations: 8.594 kB / 1.173 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003451/1.033, allocations: 0.5909 MB / 1.173 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.034, allocations: 2.938 kB / 1.173 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/1.035, allocations: 0.8404 MB / 1.174 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003301/1.035, allocations: 177.6 kB / 1.174 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.708e-05/1.035, allocations: 20.52 kB / 1.174 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004607/1.036, allocations: 43.94 kB / 1.174 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.829e-05/1.036, allocations: 34.73 kB / 1.174 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/1.036, allocations: 17.78 kB / 1.174 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003999/1.036, allocations: 339.8 kB / 1.175 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.914e-06/1.036, allocations: 0 / 1.175 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001033/1.037, allocations: 373.2 kB / 1.175 GB, free: 10.18 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.0004905/1.038, allocations: 198.8 kB / 1.175 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00146/1.039, allocations: 0.6858 MB / 1.176 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.039, allocations: 0 / 1.176 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004075/1.04, allocations: 218.8 kB / 1.176 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/1.042, allocations: 362.8 kB / 1.176 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/1.044, allocations: 1.708 MB / 1.178 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/1.045, allocations: 0.9519 MB / 1.179 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008098/1.046, allocations: 209.5 kB / 1.179 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/1.046, allocations: 48.75 kB / 1.179 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of SimCode: time 8.21e-07/1.046, allocations: 0 / 1.179 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of Templates: time 0.02235/1.068, allocations: 11.58 MB / 1.19 GB, free: 1.547 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)