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.0006886/0.0006885, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007567/0.0007567, allocations: 172 kB / 16.58 MB, free: 6.469 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.171/1.171, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.593/0.593, allocations: 113.7 MB / 405.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002583/0.0002583, allocations: 8 kB / 493.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1187, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.3915/0.5103, allocations: 168.3 MB / 0.7212 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007366/0.5177, allocations: 6.517 MB / 0.7276 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000423/0.5181, allocations: 23.81 kB / 0.7276 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006804/0.5188, allocations: 266.2 kB / 0.7279 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.5209, allocations: 1.065 MB / 0.7289 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.5226, allocations: 0.8327 MB / 0.7297 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001858/0.5245, allocations: 2.288 MB / 0.732 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005612/0.525, allocations: 496.1 kB / 0.7324 GB, free: 7.074 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009144/0.526, allocations: 0.6924 MB / 0.7331 GB, free: 6.379 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006081/0.5266, allocations: 0.5797 MB / 0.7337 GB, free: 5.797 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.315e-05/0.5266, allocations: 28 kB / 0.7337 GB, free: 5.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001789/0.5284, allocations: 1.138 MB / 0.7348 GB, free: 4.629 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.5287, allocations: 255.2 kB / 0.7351 GB, free: 4.379 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.5288, allocations: 177.3 kB / 0.7352 GB, free: 4.199 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.5299, allocations: 1.134 MB / 0.7363 GB, free: 3.062 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5299, allocations: 0 / 0.7363 GB, free: 3.062 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5299, allocations: 0 / 0.7363 GB, free: 3.062 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.5299, allocations: 0 / 0.7363 GB, free: 3.062 MB / 0.545 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.001319/0.5313, allocations: 1.029 MB / 0.7373 GB, free: 1.984 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.5313, allocations: 12.03 kB / 0.7374 GB, free: 1.973 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.5314, allocations: 94.52 kB / 0.7374 GB, free: 1.871 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.533, allocations: 274.7 kB / 0.7377 GB, free: 1.602 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007448/0.5337, allocations: 0.5563 MB / 0.7383 GB, free: 1.008 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.5338, allocations: 41.31 kB / 0.7383 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.638e-05/0.5338, allocations: 59.95 kB / 0.7383 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009304/0.5348, allocations: 0.6362 MB / 0.739 GB, free: 260 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.5348, allocations: 0 / 0.739 GB, free: 260 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.5349, allocations: 20 kB / 0.739 GB, free: 240 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.5349, allocations: 25.3 kB / 0.739 GB, free: 216 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000823/0.5357, allocations: 0.5277 MB / 0.7395 GB, free: 15.68 MB / 0.5606 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.002372/0.5381, allocations: 2.461 MB / 0.7419 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/0.5387, allocations: 367.4 kB / 0.7423 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.539, allocations: 237.4 kB / 0.7425 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004747/0.5395, allocations: 323.6 kB / 0.7428 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.5395, allocations: 34.89 kB / 0.7428 GB, free: 12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=39): time 4.358e-06/0.5395, allocations: 3.938 kB / 0.7429 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.001154/0.5407, allocations: 0.6383 MB / 0.7435 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.5407, allocations: 55.41 kB / 0.7435 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.5412, allocations: 0.4912 MB / 0.744 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.5413, allocations: 33.7 kB / 0.744 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.5415, allocations: 324.4 kB / 0.7443 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.697e-05/0.5416, allocations: 141.9 kB / 0.7445 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.5416, allocations: 8 kB / 0.7445 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.5417, allocations: 374.7 kB / 0.7449 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.542, allocations: 168.8 kB / 0.745 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.5424, allocations: 287.4 kB / 0.7453 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.5427, allocations: 207.9 kB / 0.7455 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5427, allocations: 4 kB / 0.7455 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007811/0.5435, allocations: 0.5366 MB / 0.746 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.587e-05/0.5436, allocations: 152.7 kB / 0.7462 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.5436, allocations: 4 kB / 0.7462 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.5436, allocations: 4 kB / 0.7462 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/0.5442, allocations: 139.8 kB / 0.7463 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002985/0.5445, allocations: 0.5938 MB / 0.7469 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/0.545, allocations: 87.56 kB / 0.747 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.5451, allocations: 20 kB / 0.747 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.333e-06/0.5451, allocations: 5.875 kB / 0.747 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006911/0.5458, allocations: 459.9 kB / 0.7474 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.5458, allocations: 4.281 kB / 0.7474 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.03e-06/0.5458, allocations: 8 kB / 0.7474 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004328/0.5462, allocations: 123.9 kB / 0.7476 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.5463, allocations: 7.938 kB / 0.7476 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004241/0.5467, allocations: 83.53 kB / 0.7476 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.5467, allocations: 24 kB / 0.7477 GB, free: 6.914 MB / 0.5606 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.0002491/0.547, allocations: 305 kB / 0.748 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.678e-05/0.5471, allocations: 55.34 kB / 0.748 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007533/0.5478, allocations: 499.4 kB / 0.7485 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.5478, allocations: 4 kB / 0.7485 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5479, allocations: 0 / 0.7485 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006723/0.5485, allocations: 0.7082 MB / 0.7492 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.5502, allocations: 1.304 MB / 0.7505 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5502, allocations: 4 kB / 0.7505 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005276/0.5507, allocations: 135.4 kB / 0.7506 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.5507, allocations: 11.94 kB / 0.7506 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.5507, allocations: 8 kB / 0.7506 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002396/0.551, allocations: 0.5899 MB / 0.7512 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.551, allocations: 7.969 kB / 0.7512 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009796/0.552, allocations: 0.814 MB / 0.752 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.5522, allocations: 192.2 kB / 0.7522 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.77e-05/0.5523, allocations: 8 kB / 0.7522 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.5527, allocations: 48.97 kB / 0.7522 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.5527, allocations: 27.97 kB / 0.7522 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.5528, allocations: 12 kB / 0.7523 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003232/0.5531, allocations: 354.8 kB / 0.7526 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5531, allocations: 0 / 0.7526 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007764/0.5539, allocations: 367.1 kB / 0.7529 GB, free: 1.242 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.001477/0.5554, allocations: 1.445 MB / 0.7544 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.5566, allocations: 0.6884 MB / 0.755 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5566, allocations: 0 / 0.755 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003663/0.5569, allocations: 219.7 kB / 0.7552 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.5584, allocations: 365.4 kB / 0.7556 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004747/0.5631, allocations: 3.864 MB / 0.7594 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.5636, allocations: 0.9455 MB / 0.7603 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005979/0.5642, allocations: 205 kB / 0.7605 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.5644, allocations: 231.3 kB / 0.7607 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.5644, allocations: 0 / 0.7607 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.5927, allocations: 17.52 MB / 0.7778 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.5929, allocations: 235.2 kB / 0.778 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.39, allocations: 0 / 0.778 GB, free: 7.727 MB / 0.5919 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/linux/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) Environment - environmentSimulation: