Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate",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.001711/0.001711, allocations: 112.5 kB / 15.73 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.001411/0.001411, allocations: 192 kB / 16.67 MB, free: 6.574 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002374/0.002374, allocations: 282.6 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.967/0.967, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002566/0.002566, allocations: 87.94 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1648, allocations: 86.98 MB / 0.7659 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5147/0.6796, allocations: 169.4 MB / 0.9314 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.6899, allocations: 7.119 MB / 0.9383 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005434/0.6905, allocations: 19.81 kB / 0.9383 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007023/0.6912, allocations: 166.8 kB / 0.9385 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003244/0.6945, allocations: 1.264 MB / 0.9397 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.6961, allocations: 0.6297 MB / 0.9404 GB, free: 344 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0009614/0.6971, allocations: 0.7602 MB / 0.9411 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004521/0.6976, allocations: 294 kB / 0.9414 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.6987, allocations: 0.5759 MB / 0.9419 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008303/0.6995, allocations: 430.5 kB / 0.9424 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.867e-05/0.6996, allocations: 24 kB / 0.9424 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.7017, allocations: 1.247 MB / 0.9436 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.7019, allocations: 115.7 kB / 0.9437 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.7021, allocations: 179.1 kB / 0.9439 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.7035, allocations: 0.9134 MB / 0.9448 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.7035, allocations: 0 / 0.9448 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7035, allocations: 0 / 0.9448 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.7035, allocations: 0 / 0.9448 GB, free: 11.82 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001012/0.7045, allocations: 0.7159 MB / 0.9455 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.7046, allocations: 8.031 kB / 0.9455 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.994e-05/0.7047, allocations: 58.55 kB / 0.9455 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009335/0.7056, allocations: 127.6 kB / 0.9457 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.7061, allocations: 349.3 kB / 0.946 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.707e-05/0.7062, allocations: 46.27 kB / 0.946 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.7063, allocations: 28 kB / 0.9461 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006794/0.707, allocations: 370.2 kB / 0.9464 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.707, allocations: 0 / 0.9464 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.707, allocations: 15.94 kB / 0.9464 GB, free: 9.992 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.7071, allocations: 4 kB / 0.9464 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005713/0.7076, allocations: 274 kB / 0.9467 GB, free: 9.723 MB / 0.7012 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.001927/0.7096, allocations: 1.492 MB / 0.9481 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.71, allocations: 198.5 kB / 0.9483 GB, free: 7.898 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.7102, allocations: 116.7 kB / 0.9484 GB, free: 7.781 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.7112, allocations: 0.5014 MB / 0.9489 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.7113, allocations: 38.56 kB / 0.949 GB, free: 7.141 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.7113, allocations: 0 / 0.949 GB, free: 7.141 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15): time 0.000937/0.7122, allocations: 354.7 kB / 0.9493 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.7123, allocations: 55.41 kB / 0.9494 GB, free: 6.723 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.7126, allocations: 320.4 kB / 0.9497 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.7127, allocations: 29.7 kB / 0.9497 GB, free: 6.367 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.7128, allocations: 180.3 kB / 0.9499 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.579e-05/0.7129, allocations: 59.52 kB / 0.9499 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.35e-05/0.713, allocations: 53.66 kB / 0.95 GB, free: 6.07 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.7131, allocations: 338.8 kB / 0.9503 GB, free: 5.73 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.7134, allocations: 87.88 kB / 0.9504 GB, free: 5.645 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.7136, allocations: 144.2 kB / 0.9505 GB, free: 5.484 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.7141, allocations: 241.8 kB / 0.9508 GB, free: 5.227 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.7141, allocations: 8.625 kB / 0.9508 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006013/0.7147, allocations: 284.4 kB / 0.951 GB, free: 4.938 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.7147, allocations: 8 kB / 0.951 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.7147, allocations: 3.984 kB / 0.951 GB, free: 4.926 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.7147, allocations: 4 kB / 0.951 GB, free: 4.922 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.715, allocations: 44.11 kB / 0.9511 GB, free: 4.879 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.715, allocations: 4 kB / 0.9511 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.7152, allocations: 28.95 kB / 0.9511 GB, free: 4.848 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.7152, allocations: 12 kB / 0.9511 GB, free: 4.836 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001665/0.7154, allocations: 162.3 kB / 0.9513 GB, free: 4.668 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.7155, allocations: 31.81 kB / 0.9513 GB, free: 4.637 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007063/0.7162, allocations: 310.2 kB / 0.9516 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.7162, allocations: 4 kB / 0.9516 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.7162, allocations: 0 / 0.9516 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.7163, allocations: 0 / 0.9516 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.7176, allocations: 0.8083 MB / 0.9524 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.7176, allocations: 4 kB / 0.9524 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.7178, allocations: 31.97 kB / 0.9524 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.445e-06/0.7178, allocations: 4 kB / 0.9524 GB, free: 3.402 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.381e-05/0.7178, allocations: 15.88 kB / 0.9525 GB, free: 3.387 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.7179, allocations: 4 kB / 0.9525 GB, free: 3.383 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7179, allocations: 4.219 kB / 0.9525 GB, free: 3.379 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006276/0.7185, allocations: 401.8 kB / 0.9529 GB, free: 2.949 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.7187, allocations: 136.8 kB / 0.953 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.7187, allocations: 11.94 kB / 0.953 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.7189, allocations: 12.73 kB / 0.953 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.719, allocations: 15.98 kB / 0.953 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.719, allocations: 12 kB / 0.953 GB, free: 2.746 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002333/0.7193, allocations: 227 kB / 0.9532 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7193, allocations: 0 / 0.9532 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005022/0.7198, allocations: 119.8 kB / 0.9534 GB, free: 2.41 MB / 0.7012 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 (16): * Single equations (assignments): 16 * 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.001412/0.7212, allocations: 1.083 MB / 0.9544 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005109/0.7217, allocations: 219.7 kB / 0.9546 GB, free: 1.074 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7218, allocations: 0 / 0.9546 GB, free: 1.074 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.722, allocations: 120.6 kB / 0.9547 GB, free: 0.957 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008218/0.7228, allocations: 154.1 kB / 0.9549 GB, free: 0.8086 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/0.7269, allocations: 3.049 MB / 0.9579 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.7274, allocations: 0.7873 MB / 0.9586 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002788/0.7277, allocations: 84.42 kB / 0.9587 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.7279, allocations: 99.41 kB / 0.9588 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.7279, allocations: 0 / 0.9588 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03377/0.7616, allocations: 10.53 MB / 0.9691 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.949/8.71, allocations: 12 kB / 0.9691 GB, free: 2.293 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)