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: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Density,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Density,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 98.81 kB / 16.02 MB, free: 80 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.001666/0.001666, allocations: 185.1 kB / 16.92 MB, free: 6.75 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.434/1.434, allocations: 223.3 MB / 241 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.6941/0.6941, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003359, allocations: 12 kB / 496 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1756, allocations: 77.53 MB / 0.56 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.5339/0.7095, allocations: 180.4 MB / 0.7362 GB, free: 2.148 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01091/0.7205, allocations: 6.964 MB / 0.743 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.7216, allocations: 23.81 kB / 0.743 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.7229, allocations: 346.2 kB / 0.7433 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004098/0.727, allocations: 1.358 MB / 0.7447 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00297/0.73, allocations: 1.054 MB / 0.7457 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003023/0.733, allocations: 2.72 MB / 0.7484 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009932/0.734, allocations: 0.5472 MB / 0.7489 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.7358, allocations: 0.7079 MB / 0.7496 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.7372, allocations: 0.6 MB / 0.7502 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.7374, allocations: 32 kB / 0.7502 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003963/0.7414, allocations: 2.186 MB / 0.7523 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003776/0.7417, allocations: 247.2 kB / 0.7526 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006547/0.7424, allocations: 407.7 kB / 0.753 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003397/0.7458, allocations: 1.811 MB / 0.7547 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.7458, allocations: 4 kB / 0.7547 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.475e-06/0.7458, allocations: 0 / 0.7547 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.987e-05/0.7459, allocations: 4 kB / 0.7547 GB, free: 15.1 MB / 0.5762 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.002075/0.748, allocations: 1.015 MB / 0.7557 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.748, allocations: 12.03 kB / 0.7557 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001794/0.7482, allocations: 94.52 kB / 0.7558 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.7503, allocations: 274.7 kB / 0.7561 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009539/0.7512, allocations: 0.587 MB / 0.7567 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.7513, allocations: 37.31 kB / 0.7567 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.404e-05/0.7514, allocations: 60 kB / 0.7568 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.7524, allocations: 0.6323 MB / 0.7574 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.7525, allocations: 0 / 0.7574 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-05/0.7525, allocations: 27.98 kB / 0.7574 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/0.7526, allocations: 21.31 kB / 0.7574 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009253/0.7535, allocations: 0.5282 MB / 0.7579 GB, free: 11.71 MB / 0.5762 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.002856/0.7564, allocations: 2.465 MB / 0.7603 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/0.757, allocations: 364.2 kB / 0.7607 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/0.7574, allocations: 243 kB / 0.7609 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005612/0.758, allocations: 319.6 kB / 0.7612 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.758, allocations: 38.89 kB / 0.7613 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 1.994e-06/0.758, allocations: 0 / 0.7613 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.001428/0.7595, allocations: 0.6432 MB / 0.7619 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.7595, allocations: 55.41 kB / 0.7619 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005716/0.7601, allocations: 0.495 MB / 0.7624 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/0.7602, allocations: 33.7 kB / 0.7625 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.7604, allocations: 328.4 kB / 0.7628 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.7605, allocations: 141.9 kB / 0.7629 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.45e-05/0.7606, allocations: 37.7 kB / 0.7629 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.7607, allocations: 370.8 kB / 0.7633 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.7611, allocations: 176.7 kB / 0.7635 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.7615, allocations: 291.4 kB / 0.7637 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007538/0.7622, allocations: 460.9 kB / 0.7642 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.7622, allocations: 4 kB / 0.7642 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009044/0.7631, allocations: 0.532 MB / 0.7647 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.543e-05/0.7633, allocations: 153.2 kB / 0.7649 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.7633, allocations: 0 / 0.7649 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.7633, allocations: 7.938 kB / 0.7649 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007101/0.764, allocations: 151.8 kB / 0.765 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003775/0.7644, allocations: 0.5861 MB / 0.7656 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/0.7651, allocations: 79.58 kB / 0.7657 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.7651, allocations: 27.98 kB / 0.7657 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.7651, allocations: 6.031 kB / 0.7657 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008121/0.766, allocations: 467.7 kB / 0.7661 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.766, allocations: 4 kB / 0.7661 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.931e-06/0.766, allocations: 4 kB / 0.7661 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000516/0.7665, allocations: 131.7 kB / 0.7663 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.7665, allocations: 4 kB / 0.7663 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005681/0.7671, allocations: 87.67 kB / 0.7664 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.7671, allocations: 16 kB / 0.7664 GB, free: 2.598 MB / 0.5762 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.00035/0.7675, allocations: 305 kB / 0.7667 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.446e-05/0.7676, allocations: 55.34 kB / 0.7667 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009083/0.7685, allocations: 0.4946 MB / 0.7672 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.7685, allocations: 4 kB / 0.7672 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.7686, allocations: 4 kB / 0.7672 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007948/0.7694, allocations: 0.7229 MB / 0.7679 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.7712, allocations: 1.288 MB / 0.7692 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.7713, allocations: 7.984 kB / 0.7692 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006398/0.7719, allocations: 136.1 kB / 0.7693 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.7719, allocations: 4 kB / 0.7693 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.772, allocations: 15.92 kB / 0.7693 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002962/0.7723, allocations: 0.5937 MB / 0.7699 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7723, allocations: 4.031 kB / 0.7699 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.7734, allocations: 0.8251 MB / 0.7707 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.7737, allocations: 180.2 kB / 0.7709 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-05/0.7738, allocations: 12 kB / 0.7709 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004788/0.7742, allocations: 51.83 kB / 0.7709 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/0.7743, allocations: 35.95 kB / 0.771 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.7744, allocations: 12 kB / 0.771 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003834/0.7748, allocations: 350.8 kB / 0.7713 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7748, allocations: 0 / 0.7713 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009081/0.7757, allocations: 363.1 kB / 0.7717 GB, free: 12.9 MB / 0.5919 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.001731/0.7774, allocations: 1.443 MB / 0.7731 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001423/0.7789, allocations: 0.6925 MB / 0.7738 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7789, allocations: 0 / 0.7738 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004172/0.7793, allocations: 228.6 kB / 0.774 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/0.7812, allocations: 357 kB / 0.7743 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007014/0.7882, allocations: 5.471 MB / 0.7797 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/0.7887, allocations: 0.9494 MB / 0.7806 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007217/0.7895, allocations: 205 kB / 0.7808 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/0.7898, allocations: 227.3 kB / 0.781 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of SimCode: time 1.312e-06/0.7898, allocations: 4 kB / 0.781 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03442/0.8242, allocations: 16.95 MB / 0.7976 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.8245, allocations: 266.9 kB / 0.7978 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.245/3.069, allocations: 0 / 0.7978 GB, free: 2.227 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)