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.001664/0.001664, allocations: 95.88 kB / 15.68 MB, free: 488 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.002731/0.00273, allocations: 174.2 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.584/2.584, allocations: 223.2 MB / 240.5 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.168/1.168, allocations: 113.7 MB / 405.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000532/0.000532, allocations: 12.91 kB / 493 MB, free: 8.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2474, allocations: 77.11 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.8576/1.105, allocations: 153.9 MB / 0.7071 GB, free: 196 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01656/1.122, allocations: 6.519 MB / 0.7134 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/1.123, allocations: 23.81 kB / 0.7134 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002416/1.126, allocations: 430.1 kB / 0.7139 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006878/1.133, allocations: 1.309 MB / 0.7151 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00568/1.139, allocations: 1.041 MB / 0.7161 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004317/1.143, allocations: 1.124 MB / 0.7172 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/1.144, allocations: 0.4923 MB / 0.7177 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/1.147, allocations: 0.6152 MB / 0.7183 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/1.148, allocations: 398.4 kB / 0.7187 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/1.148, allocations: 28 kB / 0.7187 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003931/1.152, allocations: 0.8736 MB / 0.7196 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005705/1.153, allocations: 231.4 kB / 0.7198 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005353/1.153, allocations: 173.3 kB / 0.72 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002836/1.156, allocations: 1.012 MB / 0.721 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.156, allocations: 0 / 0.721 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.504e-06/1.156, allocations: 0 / 0.721 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.923e-05/1.156, allocations: 4 kB / 0.721 GB, free: 1.922 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.00284/1.159, allocations: 0.9862 MB / 0.7219 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.386e-05/1.159, allocations: 12.03 kB / 0.7219 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002054/1.159, allocations: 94.52 kB / 0.722 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003453/1.163, allocations: 278.7 kB / 0.7223 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/1.165, allocations: 0.5602 MB / 0.7228 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.566e-05/1.165, allocations: 41.31 kB / 0.7229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/1.165, allocations: 55.95 kB / 0.7229 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/1.167, allocations: 0.6401 MB / 0.7236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/1.167, allocations: 0 / 0.7236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.965e-05/1.167, allocations: 24 kB / 0.7236 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.985e-05/1.167, allocations: 21.31 kB / 0.7236 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/1.169, allocations: 0.5243 MB / 0.7241 GB, free: 14.57 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.005405/1.174, allocations: 2.453 MB / 0.7265 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/1.175, allocations: 379.5 kB / 0.7269 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006119/1.176, allocations: 137.4 kB / 0.727 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/1.176, allocations: 35.77 kB / 0.727 GB, free: 11.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 6.162e-06/1.176, allocations: 0 / 0.727 GB, free: 11.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.002499/1.179, allocations: 0.64 MB / 0.7277 GB, free: 10.69 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/1.179, allocations: 55.41 kB / 0.7277 GB, free: 10.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/1.18, allocations: 495 kB / 0.7282 GB, free: 10.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.805e-05/1.18, allocations: 37.7 kB / 0.7282 GB, free: 10.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003699/1.18, allocations: 328.4 kB / 0.7285 GB, free: 9.766 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/1.181, allocations: 142 kB / 0.7287 GB, free: 9.625 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/1.181, allocations: 7.938 kB / 0.7287 GB, free: 9.617 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002059/1.181, allocations: 370.8 kB / 0.729 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004987/1.181, allocations: 172.8 kB / 0.7292 GB, free: 9.074 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/1.182, allocations: 279.4 kB / 0.7295 GB, free: 8.766 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006736/1.183, allocations: 219.8 kB / 0.7297 GB, free: 8.551 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/1.183, allocations: 3.953 kB / 0.7297 GB, free: 8.547 MB / 0.545 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001661/1.184, allocations: 0.5324 MB / 0.7302 GB, free: 8.008 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004674/1.185, allocations: 0.8771 MB / 0.7311 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/1.185, allocations: 4 kB / 0.7311 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/1.185, allocations: 4 kB / 0.7311 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/1.186, allocations: 143.8 kB / 0.7312 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005942/1.187, allocations: 0.5978 MB / 0.7318 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/1.188, allocations: 83.58 kB / 0.7319 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.617e-05/1.188, allocations: 20 kB / 0.7319 GB, free: 6.191 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.188, allocations: 0 / 0.7319 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001478/1.19, allocations: 463.9 kB / 0.7323 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/1.19, allocations: 0 / 0.7323 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/1.19, allocations: 15.94 kB / 0.7323 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008994/1.191, allocations: 128.1 kB / 0.7325 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/1.191, allocations: 7.938 kB / 0.7325 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/1.192, allocations: 75.55 kB / 0.7325 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/1.192, allocations: 16 kB / 0.7326 GB, free: 5.5 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.0007911/1.193, allocations: 314.7 kB / 0.7329 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/1.193, allocations: 55.34 kB / 0.7329 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/1.195, allocations: 498.5 kB / 0.7334 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/1.195, allocations: 7.953 kB / 0.7334 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.195, allocations: 4 kB / 0.7334 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001335/1.196, allocations: 0.7073 MB / 0.7341 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003565/1.2, allocations: 1.288 MB / 0.7353 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/1.2, allocations: 8.219 kB / 0.7354 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/1.201, allocations: 135.8 kB / 0.7355 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/1.201, allocations: 0 / 0.7355 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.693e-05/1.201, allocations: 15.98 kB / 0.7355 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000438/1.202, allocations: 0.5938 MB / 0.7361 GB, free: 1.684 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/1.202, allocations: 8 kB / 0.7361 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/1.204, allocations: 0.8959 MB / 0.737 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005366/1.204, allocations: 184.3 kB / 0.7371 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/1.204, allocations: 12 kB / 0.7371 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008967/1.205, allocations: 59.77 kB / 0.7372 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/1.205, allocations: 35.91 kB / 0.7372 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-05/1.206, allocations: 12 kB / 0.7372 GB, free: 392 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007231/1.206, allocations: 346.8 kB / 0.7376 GB, free: 48 kB / 0.545 GB Notification: Performance of sort global known variables: time 3.31e-07/1.206, allocations: 0 / 0.7376 GB, free: 48 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.001812/1.208, allocations: 363.2 kB / 0.7379 GB, free: 15.69 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.003229/1.211, allocations: 2.01 MB / 0.7399 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002571/1.214, allocations: 0.6837 MB / 0.7406 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.214, allocations: 0 / 0.7406 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007477/1.215, allocations: 219.7 kB / 0.7408 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/1.217, allocations: 356.7 kB / 0.7411 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009806/1.227, allocations: 5.191 MB / 0.7462 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009669/1.228, allocations: 0.961 MB / 0.7471 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001423/1.229, allocations: 205 kB / 0.7473 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005422/1.23, allocations: 227.4 kB / 0.7475 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/1.23, allocations: 0 / 0.7475 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07388/1.304, allocations: 17.5 MB / 0.7646 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003811/1.304, allocations: 230.5 kB / 0.7648 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.866/5.17, allocations: 0 / 0.7648 GB, free: 4.254 MB / 0.5762 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: