Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density") translateModel(IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009239/0.0009239, allocations: 97.05 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000949/0.0009491, allocations: 174.7 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.2 MB / 240.5 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6637/0.6637, allocations: 113.8 MB / 405.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003146, allocations: 8 kB / 493.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1406, allocations: 77.15 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.4394/0.58, allocations: 153.9 MB / 0.7072 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009782/0.5898, allocations: 6.518 MB / 0.7135 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009191/0.5908, allocations: 23.81 kB / 0.7136 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.5921, allocations: 422.1 kB / 0.714 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004169/0.5963, allocations: 1.318 MB / 0.7153 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003281/0.5996, allocations: 1.033 MB / 0.7163 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002239/0.6019, allocations: 1.12 MB / 0.7174 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008558/0.6027, allocations: 0.5061 MB / 0.7179 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.604, allocations: 0.6152 MB / 0.7185 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005715/0.6046, allocations: 382.4 kB / 0.7188 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.166e-05/0.6047, allocations: 32 kB / 0.7188 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/0.6068, allocations: 0.8814 MB / 0.7197 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.6071, allocations: 219.4 kB / 0.7199 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.6073, allocations: 181.3 kB / 0.7201 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.6087, allocations: 1.017 MB / 0.7211 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.6087, allocations: 0 / 0.7211 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6087, allocations: 0 / 0.7211 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.6087, allocations: 0 / 0.7211 GB, free: 1.691 MB / 0.5294 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.001573/0.6103, allocations: 0.986 MB / 0.722 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.6103, allocations: 12.03 kB / 0.7221 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.6122, allocations: 274.7 kB / 0.7223 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009708/0.6132, allocations: 0.5563 MB / 0.7229 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/0.6132, allocations: 41.31 kB / 0.7229 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.865e-05/0.6133, allocations: 56 kB / 0.723 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.6144, allocations: 0.6361 MB / 0.7236 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.6144, allocations: 4 kB / 0.7236 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.183e-05/0.6145, allocations: 20 kB / 0.7236 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/0.6145, allocations: 17.31 kB / 0.7236 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009146/0.6154, allocations: 0.5321 MB / 0.7241 GB, free: 14.46 MB / 0.545 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.003038/0.6185, allocations: 2.453 MB / 0.7265 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/0.6191, allocations: 375.4 kB / 0.7269 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003916/0.6195, allocations: 145.4 kB / 0.727 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.6196, allocations: 38.83 kB / 0.7271 GB, free: 11.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 2.034e-06/0.6196, allocations: 0 / 0.7271 GB, free: 11.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.001415/0.621, allocations: 0.64 MB / 0.7277 GB, free: 10.56 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.6211, allocations: 55.41 kB / 0.7277 GB, free: 10.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005564/0.6216, allocations: 499 kB / 0.7282 GB, free: 10 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.6217, allocations: 37.7 kB / 0.7283 GB, free: 9.957 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.6219, allocations: 328.4 kB / 0.7286 GB, free: 9.633 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.622, allocations: 138 kB / 0.7287 GB, free: 9.496 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.6221, allocations: 4 kB / 0.7287 GB, free: 9.492 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.6222, allocations: 366.8 kB / 0.7291 GB, free: 9.125 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/0.6225, allocations: 172.8 kB / 0.7292 GB, free: 8.953 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/0.6229, allocations: 283.3 kB / 0.7295 GB, free: 8.641 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.6233, allocations: 216.6 kB / 0.7297 GB, free: 8.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6233, allocations: 4 kB / 0.7297 GB, free: 8.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008927/0.6242, allocations: 0.5319 MB / 0.7302 GB, free: 7.887 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003223/0.6246, allocations: 0.8769 MB / 0.7311 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.6246, allocations: 0.5 kB / 0.7311 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.6246, allocations: 8 kB / 0.7311 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000754/0.6254, allocations: 151.7 kB / 0.7312 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003774/0.6258, allocations: 0.5899 MB / 0.7318 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007086/0.6265, allocations: 87.61 kB / 0.7319 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.638e-05/0.6265, allocations: 16 kB / 0.7319 GB, free: 6.074 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.6266, allocations: 6.188 kB / 0.7319 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000828/0.6274, allocations: 467.8 kB / 0.7324 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.6274, allocations: 0 / 0.7324 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/0.6274, allocations: 4 kB / 0.7324 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/0.628, allocations: 132.1 kB / 0.7325 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.628, allocations: 11.94 kB / 0.7325 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005992/0.6286, allocations: 83.53 kB / 0.7326 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.6286, allocations: 12 kB / 0.7326 GB, free: 5.375 MB / 0.545 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.0004399/0.6291, allocations: 316.9 kB / 0.7329 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.6292, allocations: 55.34 kB / 0.7329 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009372/0.6301, allocations: 498.5 kB / 0.7334 GB, free: 4.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.6302, allocations: 11.95 kB / 0.7334 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6302, allocations: 3.938 kB / 0.7334 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000823/0.631, allocations: 0.7034 MB / 0.7341 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.633, allocations: 1.292 MB / 0.7354 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.633, allocations: 0 / 0.7354 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006403/0.6337, allocations: 135.8 kB / 0.7355 GB, free: 2.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.6337, allocations: 4 kB / 0.7355 GB, free: 2.188 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.6337, allocations: 20.12 kB / 0.7355 GB, free: 2.168 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002864/0.634, allocations: 0.5907 MB / 0.7361 GB, free: 1.555 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.634, allocations: 0 / 0.7361 GB, free: 1.555 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.6352, allocations: 0.8995 MB / 0.737 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/0.6355, allocations: 188.3 kB / 0.7372 GB, free: 380 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.107e-05/0.6356, allocations: 12 kB / 0.7372 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000499/0.6361, allocations: 47.89 kB / 0.7372 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.593e-05/0.6362, allocations: 31.92 kB / 0.7373 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.6362, allocations: 16.05 kB / 0.7373 GB, free: 272 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003865/0.6366, allocations: 342.8 kB / 0.7376 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6366, allocations: 0 / 0.7376 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009571/0.6376, allocations: 367.1 kB / 0.7379 GB, free: 15.57 MB / 0.5606 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 (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.0004396/0.638, allocations: 205.8 kB / 0.7381 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.6395, allocations: 0.679 MB / 0.7388 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6396, allocations: 1 kB / 0.7388 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004266/0.64, allocations: 232.1 kB / 0.739 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.6416, allocations: 351.7 kB / 0.7394 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.644, allocations: 1.724 MB / 0.741 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.6445, allocations: 0.9652 MB / 0.742 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007133/0.6452, allocations: 197 kB / 0.7422 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.6454, allocations: 51.42 kB / 0.7422 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.6454, allocations: 0 / 0.7422 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of Templates: time 0.02002/0.6654, allocations: 11.5 MB / 0.7535 GB, free: 15.81 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)