Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",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.0009471/0.0009472, allocations: 96.08 kB / 16.02 MB, free: 76 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.001271/0.001271, allocations: 183.3 kB / 16.92 MB, free: 6.754 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.369/1.369, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7164/0.7164, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003818, allocations: 13.69 kB / 496 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1676, allocations: 77.53 MB / 0.56 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5002/0.6679, allocations: 163.1 MB / 0.7193 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007968/0.6759, allocations: 6.457 MB / 0.7256 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005035/0.6764, allocations: 11.94 kB / 0.7257 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006273/0.677, allocations: 135.1 kB / 0.7258 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002442/0.6795, allocations: 0.786 MB / 0.7266 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.6805, allocations: 293.9 kB / 0.7268 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001221/0.6818, allocations: 1.014 MB / 0.7278 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005123/0.6823, allocations: 230.1 kB / 0.728 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.6837, allocations: 0.5058 MB / 0.7285 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005953/0.6843, allocations: 274.9 kB / 0.7288 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.563e-05/0.6844, allocations: 12 kB / 0.7288 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007977/0.6852, allocations: 395 kB / 0.7292 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.6853, allocations: 95.7 kB / 0.7293 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.6855, allocations: 184.8 kB / 0.7295 GB, free: 9.254 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006893/0.6862, allocations: 470.4 kB / 0.7299 GB, free: 8.793 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6863, allocations: 0 / 0.7299 GB, free: 8.793 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6863, allocations: 0 / 0.7299 GB, free: 8.793 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.6863, allocations: 0 / 0.7299 GB, free: 8.793 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008897/0.6872, allocations: 0.558 MB / 0.7304 GB, free: 8.188 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.6872, allocations: 8.031 kB / 0.7305 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.702e-05/0.6873, allocations: 70.47 kB / 0.7305 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003502/0.6877, allocations: 71.45 kB / 0.7306 GB, free: 8.031 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.6881, allocations: 301.3 kB / 0.7309 GB, free: 7.695 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.6882, allocations: 21.44 kB / 0.7309 GB, free: 7.676 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.6882, allocations: 24 kB / 0.7309 GB, free: 7.652 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/0.6888, allocations: 327.7 kB / 0.7312 GB, free: 7.309 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.6888, allocations: 0 / 0.7312 GB, free: 7.309 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.6888, allocations: 12 kB / 0.7312 GB, free: 7.297 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.6889, allocations: 4 kB / 0.7312 GB, free: 7.293 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.6893, allocations: 221.4 kB / 0.7315 GB, free: 7.078 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.001573/0.6909, allocations: 1.534 MB / 0.733 GB, free: 5.406 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.6912, allocations: 126.5 kB / 0.7331 GB, free: 5.273 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.6914, allocations: 101.7 kB / 0.7332 GB, free: 5.172 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006104/0.692, allocations: 315.2 kB / 0.7335 GB, free: 4.809 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.692, allocations: 34.56 kB / 0.7335 GB, free: 4.766 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.692, allocations: 3.938 kB / 0.7335 GB, free: 4.762 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0007723/0.6928, allocations: 292.5 kB / 0.7338 GB, free: 4.473 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.6928, allocations: 51.41 kB / 0.7338 GB, free: 4.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.6932, allocations: 308.5 kB / 0.7341 GB, free: 4.098 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.6932, allocations: 33.7 kB / 0.7342 GB, free: 4.059 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.6933, allocations: 188 kB / 0.7343 GB, free: 3.871 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.6934, allocations: 43.36 kB / 0.7344 GB, free: 3.828 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.6934, allocations: 21.7 kB / 0.7344 GB, free: 3.801 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.6935, allocations: 338.8 kB / 0.7347 GB, free: 3.461 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.6937, allocations: 59.95 kB / 0.7348 GB, free: 3.402 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.6939, allocations: 121.1 kB / 0.7349 GB, free: 3.266 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.6943, allocations: 190.3 kB / 0.7351 GB, free: 3.062 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6943, allocations: 0 / 0.7351 GB, free: 3.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004739/0.6948, allocations: 233 kB / 0.7353 GB, free: 2.828 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.6948, allocations: 4 kB / 0.7353 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.6948, allocations: 4 kB / 0.7353 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.6948, allocations: 0 / 0.7353 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.695, allocations: 37.3 kB / 0.7354 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.695, allocations: 8.156 kB / 0.7354 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.6952, allocations: 35.75 kB / 0.7354 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.6953, allocations: 12 kB / 0.7354 GB, free: 2.73 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001544/0.6954, allocations: 149.7 kB / 0.7355 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.6955, allocations: 27.62 kB / 0.7356 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/0.696, allocations: 224.3 kB / 0.7358 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.696, allocations: 4 kB / 0.7358 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.696, allocations: 3.938 kB / 0.7358 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.696, allocations: 0 / 0.7358 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.6971, allocations: 0.6952 MB / 0.7365 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.6971, allocations: 4 kB / 0.7365 GB, free: 1.539 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.6972, allocations: 27.98 kB / 0.7365 GB, free: 1.512 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.6972, allocations: 3.938 kB / 0.7365 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.6973, allocations: 7.938 kB / 0.7365 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.6973, allocations: 4 kB / 0.7365 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.6973, allocations: 0 / 0.7365 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004517/0.6977, allocations: 357.2 kB / 0.7369 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.6979, allocations: 120.7 kB / 0.737 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.6979, allocations: 11.92 kB / 0.737 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.6981, allocations: 23.98 kB / 0.737 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.6982, allocations: 12.02 kB / 0.737 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.6982, allocations: 4 kB / 0.737 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002182/0.6984, allocations: 223.1 kB / 0.7372 GB, free: 0.707 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.513e-06/0.6984, allocations: 0 / 0.7372 GB, free: 0.707 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003913/0.6988, allocations: 79.77 kB / 0.7373 GB, free: 0.6289 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001003/0.6998, allocations: 0.9298 MB / 0.7382 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004234/0.7003, allocations: 169 kB / 0.7384 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.7003, allocations: 0 / 0.7384 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.7005, allocations: 83.83 kB / 0.7385 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009623/0.7015, allocations: 149.4 kB / 0.7386 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.7051, allocations: 2.947 MB / 0.7415 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.7055, allocations: 0.7797 MB / 0.7422 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002217/0.7057, allocations: 74.91 kB / 0.7423 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.7059, allocations: 91.41 kB / 0.7424 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.7059, allocations: 0 / 0.7424 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.726, allocations: 7.539 MB / 0.7498 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.7263, allocations: 232 kB / 0.75 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.699, allocations: 4 kB / 0.75 GB, free: 3.621 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)