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.001688/0.001688, allocations: 103.9 kB / 16.4 MB, free: 6.492 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.00132/0.00132, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7442/0.7442, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 59.03 kB / 0.5577 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.168, allocations: 76.19 MB / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.5964/0.7644, allocations: 185 MB / 0.8128 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009535/0.774, allocations: 6.985 MB / 0.8196 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.7752, allocations: 25.19 kB / 0.8196 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.7764, allocations: 401.4 kB / 0.82 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003843/0.7803, allocations: 1.446 MB / 0.8214 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002937/0.7832, allocations: 1.156 MB / 0.8225 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00242/0.7857, allocations: 1.953 MB / 0.8244 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008091/0.7865, allocations: 0.6539 MB / 0.8251 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.7879, allocations: 0.8361 MB / 0.8259 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.789, allocations: 0.5986 MB / 0.8265 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.118e-05/0.7891, allocations: 67.66 kB / 0.8266 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003147/0.7923, allocations: 1.926 MB / 0.8284 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.7925, allocations: 296.3 kB / 0.8287 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003837/0.7929, allocations: 432.8 kB / 0.8291 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.7952, allocations: 1.763 MB / 0.8309 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.7952, allocations: 0 / 0.8309 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7952, allocations: 0 / 0.8309 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.7952, allocations: 0 / 0.8309 GB, free: 3.488 MB / 0.5919 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.001698/0.7969, allocations: 1.165 MB / 0.832 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.797, allocations: 7.5 kB / 0.832 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.7987, allocations: 271.7 kB / 0.8323 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009821/0.7997, allocations: 0.6103 MB / 0.8329 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.7998, allocations: 42.61 kB / 0.8329 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.327e-05/0.7998, allocations: 57.94 kB / 0.8329 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.8009, allocations: 0.6338 MB / 0.8336 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.8009, allocations: 11.81 kB / 0.8336 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/0.8009, allocations: 24.44 kB / 0.8336 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/0.801, allocations: 19.03 kB / 0.8336 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008828/0.8019, allocations: 0.5254 MB / 0.8341 GB, free: 1.258 MB / 0.5919 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.002892/0.8048, allocations: 2.448 MB / 0.8365 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006267/0.8054, allocations: 369.8 kB / 0.8369 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.8058, allocations: 237.8 kB / 0.8371 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005613/0.8063, allocations: 309.6 kB / 0.8374 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.8064, allocations: 39.58 kB / 0.8374 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.663e-06/0.8064, allocations: 0 / 0.8374 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001277/0.8077, allocations: 0.6151 MB / 0.838 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.8077, allocations: 60.16 kB / 0.8381 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005087/0.8082, allocations: 0.4902 MB / 0.8386 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.8083, allocations: 32.11 kB / 0.8386 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.8085, allocations: 332.9 kB / 0.8389 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.8086, allocations: 133.9 kB / 0.839 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.8088, allocations: 91.09 kB / 0.8391 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.8089, allocations: 372.1 kB / 0.8395 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.8093, allocations: 176.2 kB / 0.8397 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.8097, allocations: 282 kB / 0.8399 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006811/0.8103, allocations: 452.2 kB / 0.8404 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.8104, allocations: 2.094 kB / 0.8404 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008728/0.8112, allocations: 0.5194 MB / 0.8409 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.8113, allocations: 12.33 kB / 0.8409 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.8113, allocations: 3.031 kB / 0.8409 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.8113, allocations: 8.75 kB / 0.8409 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007061/0.812, allocations: 131.5 kB / 0.841 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000398/0.8124, allocations: 0.599 MB / 0.8416 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004862/0.8129, allocations: 50.77 kB / 0.8416 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.813, allocations: 23.92 kB / 0.8417 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004937/0.8135, allocations: 349.5 kB / 0.842 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003759/0.8139, allocations: 280 kB / 0.8423 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006487/0.8145, allocations: 448.5 kB / 0.8427 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/0.8145, allocations: 2.688 kB / 0.8427 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008318/0.8154, allocations: 0.524 MB / 0.8432 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.8154, allocations: 4.875 kB / 0.8432 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-06/0.8154, allocations: 2.75 kB / 0.8432 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.487e-06/0.8154, allocations: 8.875 kB / 0.8432 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/0.8159, allocations: 121.6 kB / 0.8433 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.8159, allocations: 4.812 kB / 0.8433 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004724/0.8164, allocations: 39.89 kB / 0.8434 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.8164, allocations: 23.28 kB / 0.8434 GB, free: 10.35 MB / 0.6075 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.0001588/0.8166, allocations: 212.7 kB / 0.8436 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.542e-05/0.8167, allocations: 59 kB / 0.8437 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008412/0.8175, allocations: 491.3 kB / 0.8441 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.8176, allocations: 6.594 kB / 0.8441 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8176, allocations: 0 / 0.8441 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007585/0.8183, allocations: 0.7018 MB / 0.8448 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.8202, allocations: 1.282 MB / 0.8461 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.8203, allocations: 4 kB / 0.8461 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000603/0.8209, allocations: 128.2 kB / 0.8462 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.8209, allocations: 7.938 kB / 0.8462 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.8209, allocations: 12 kB / 0.8462 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003235/0.8213, allocations: 0.5937 MB / 0.8468 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8213, allocations: 0 / 0.8468 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.8224, allocations: 0.7987 MB / 0.8476 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.8227, allocations: 180.4 kB / 0.8478 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.12e-05/0.8228, allocations: 11.94 kB / 0.8478 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.8232, allocations: 27.92 kB / 0.8478 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.858e-05/0.8233, allocations: 27.91 kB / 0.8478 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.8233, allocations: 15.98 kB / 0.8478 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000367/0.8237, allocations: 354.8 kB / 0.8482 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8237, allocations: 0 / 0.8482 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009478/0.8246, allocations: 367.1 kB / 0.8485 GB, free: 5.629 MB / 0.6075 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 (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.0004757/0.8251, allocations: 205.7 kB / 0.8487 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001444/0.8266, allocations: 0.6687 MB / 0.8494 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.8266, allocations: 1.125 kB / 0.8494 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004292/0.827, allocations: 224 kB / 0.8496 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.8287, allocations: 366 kB / 0.8499 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.831, allocations: 1.38 MB / 0.8513 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.8315, allocations: 0.9457 MB / 0.8522 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005989/0.8322, allocations: 212.9 kB / 0.8524 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.8323, allocations: 51.44 kB / 0.8525 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.8323, allocations: 0 / 0.8525 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of Templates: time 0.02397/0.8563, allocations: 12.69 MB / 0.8649 GB, free: 5.055 MB / 0.6231 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)