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.00115/0.00115, allocations: 108 kB / 15.61 MB, free: 152 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.00137/0.00137, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002021/0.002021, allocations: 275 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9987/0.9987, allocations: 169.3 MB / 0.4982 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 95.38 kB / 0.5954 GB, free: 27.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.17, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5337/0.7038, allocations: 169.4 MB / 0.8457 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007828/0.7116, allocations: 7.143 MB / 0.8527 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005046/0.7122, allocations: 11.97 kB / 0.8527 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000548/0.7128, allocations: 175.4 kB / 0.8529 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003064/0.7158, allocations: 1.263 MB / 0.8541 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.7174, allocations: 0.6251 MB / 0.8547 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007321/0.7182, allocations: 0.7565 MB / 0.8555 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004118/0.7186, allocations: 296.3 kB / 0.8557 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009363/0.7195, allocations: 0.5693 MB / 0.8563 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006626/0.7202, allocations: 424.7 kB / 0.8567 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.7203, allocations: 25.81 kB / 0.8567 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.7221, allocations: 1.24 MB / 0.8579 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.7222, allocations: 117.6 kB / 0.8581 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.7224, allocations: 177.9 kB / 0.8582 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.7235, allocations: 0.8967 MB / 0.8591 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7236, allocations: 2.094 kB / 0.8591 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.502e-06/0.7236, allocations: 0 / 0.8591 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.7236, allocations: 0 / 0.8591 GB, free: 7.055 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009484/0.7245, allocations: 0.7006 MB / 0.8598 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.7246, allocations: 9.75 kB / 0.8598 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.227e-05/0.7247, allocations: 61.78 kB / 0.8599 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009458/0.7256, allocations: 125.4 kB / 0.86 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.726, allocations: 333.2 kB / 0.8603 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.042e-05/0.7261, allocations: 49.86 kB / 0.8603 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.7261, allocations: 29.72 kB / 0.8604 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005796/0.7267, allocations: 365.2 kB / 0.8607 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.7267, allocations: 0 / 0.8607 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.7268, allocations: 11.12 kB / 0.8607 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.7268, allocations: 11.69 kB / 0.8607 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004727/0.7273, allocations: 279 kB / 0.861 GB, free: 5.57 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.00174/0.729, allocations: 1.491 MB / 0.8625 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003781/0.7294, allocations: 198.4 kB / 0.8627 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.7296, allocations: 114 kB / 0.8628 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009133/0.7305, allocations: 0.5068 MB / 0.8633 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.7306, allocations: 34.56 kB / 0.8633 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.714e-06/0.7306, allocations: 3.938 kB / 0.8633 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008895/0.7315, allocations: 362.6 kB / 0.8636 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.7315, allocations: 53.69 kB / 0.8637 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.7318, allocations: 316.3 kB / 0.864 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.7319, allocations: 33.64 kB / 0.864 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.732, allocations: 181 kB / 0.8642 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.7321, allocations: 54.98 kB / 0.8642 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-05/0.7321, allocations: 43.55 kB / 0.8643 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.7323, allocations: 338.5 kB / 0.8646 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.7325, allocations: 84.92 kB / 0.8647 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.7327, allocations: 149.8 kB / 0.8648 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/0.7331, allocations: 234.2 kB / 0.8651 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.7331, allocations: 2.781 kB / 0.8651 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005342/0.7337, allocations: 295 kB / 0.8653 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.7337, allocations: 7.094 kB / 0.8654 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.7337, allocations: 0 / 0.8654 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.7337, allocations: 3.031 kB / 0.8654 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.7339, allocations: 48.06 kB / 0.8654 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.7339, allocations: 3.125 kB / 0.8654 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.7341, allocations: 25.3 kB / 0.8654 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.7342, allocations: 14.28 kB / 0.8654 GB, free: 1.922 MB / 0.5762 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.0001397/0.7343, allocations: 156.5 kB / 0.8656 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.7344, allocations: 34.06 kB / 0.8656 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006626/0.7351, allocations: 310.2 kB / 0.8659 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.7351, allocations: 2.531 kB / 0.8659 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7351, allocations: 1.688 kB / 0.8659 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.7352, allocations: 0 / 0.8659 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.7364, allocations: 0.8124 MB / 0.8667 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.7364, allocations: 4.031 kB / 0.8667 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.7366, allocations: 31.52 kB / 0.8668 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.7366, allocations: 6.719 kB / 0.8668 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.7366, allocations: 13 kB / 0.8668 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.7366, allocations: 9.734 kB / 0.8668 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7366, allocations: 3.188 kB / 0.8668 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005624/0.7372, allocations: 398.2 kB / 0.8672 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.7374, allocations: 134.7 kB / 0.8673 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.7374, allocations: 10.44 kB / 0.8673 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.7376, allocations: 20.58 kB / 0.8673 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.7377, allocations: 19.5 kB / 0.8673 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.7377, allocations: 7.5 kB / 0.8673 GB, free: 440 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001946/0.7379, allocations: 226.3 kB / 0.8676 GB, free: 292 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7379, allocations: 0 / 0.8676 GB, free: 292 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000496/0.7384, allocations: 120.5 kB / 0.8677 GB, free: 264 kB / 0.5762 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.001332/0.7398, allocations: 1.06 MB / 0.8687 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004861/0.7403, allocations: 232 kB / 0.8689 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.7403, allocations: 0 / 0.8689 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.7405, allocations: 115.5 kB / 0.869 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008595/0.7414, allocations: 163.9 kB / 0.8692 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.7456, allocations: 3.062 MB / 0.8722 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.7459, allocations: 0.783 MB / 0.873 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002978/0.7462, allocations: 84.31 kB / 0.873 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.7464, allocations: 99.31 kB / 0.8731 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.7464, allocations: 0 / 0.8731 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/0.7751, allocations: 10.45 MB / 0.8833 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.521/8.296, allocations: 9.938 kB / 0.8833 GB, free: 6.777 MB / 0.5919 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)