Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_8_Buildings_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.001448/0.001448, allocations: 105.4 kB / 15.7 MB, free: 24 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.001784/0.001785, allocations: 185.6 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.617/1.617, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 71.23 kB / 0.6718 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2312, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5752/0.8064, allocations: 169.4 MB / 0.9491 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008403/0.8149, allocations: 7.131 MB / 0.9561 GB, free: 1 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005366/0.8155, allocations: 11.66 kB / 0.9561 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005839/0.8161, allocations: 176.7 kB / 0.9562 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003257/0.8194, allocations: 1.266 MB / 0.9575 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.8212, allocations: 0.6225 MB / 0.9581 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000895/0.8221, allocations: 0.7605 MB / 0.9588 GB, free: 460 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004212/0.8226, allocations: 297.9 kB / 0.9591 GB, free: 424 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.8237, allocations: 0.5588 MB / 0.9597 GB, free: 344 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008595/0.8246, allocations: 429.6 kB / 0.9601 GB, free: 304 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.02e-05/0.8246, allocations: 26.91 kB / 0.9601 GB, free: 304 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/0.8269, allocations: 1.244 MB / 0.9613 GB, free: 196 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.827, allocations: 115.8 kB / 0.9614 GB, free: 196 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.8273, allocations: 176 kB / 0.9616 GB, free: 196 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.8287, allocations: 0.9114 MB / 0.9625 GB, free: 132 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.8287, allocations: 4 kB / 0.9625 GB, free: 128 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8287, allocations: 0 / 0.9625 GB, free: 128 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.8288, allocations: 8.969 kB / 0.9625 GB, free: 120 kB / 0.7169 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.0009714/0.8297, allocations: 0.6928 MB / 0.9632 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.8298, allocations: 9.188 kB / 0.9632 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.896e-05/0.8299, allocations: 63.59 kB / 0.9632 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009492/0.8308, allocations: 124.3 kB / 0.9634 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.8313, allocations: 347.1 kB / 0.9637 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.475e-05/0.8314, allocations: 52.23 kB / 0.9637 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.8315, allocations: 25.67 kB / 0.9638 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006226/0.8321, allocations: 375.9 kB / 0.9641 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.8321, allocations: 0 / 0.9641 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.8321, allocations: 10.59 kB / 0.9641 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.8322, allocations: 6.719 kB / 0.9641 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.8327, allocations: 279.8 kB / 0.9644 GB, free: 15.18 MB / 0.7325 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.001751/0.8344, allocations: 1.495 MB / 0.9659 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.8348, allocations: 195.2 kB / 0.9661 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.835, allocations: 119.9 kB / 0.9662 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009176/0.8359, allocations: 0.5004 MB / 0.9667 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.836, allocations: 35.72 kB / 0.9667 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.836, allocations: 1.156 kB / 0.9667 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0008913/0.8369, allocations: 359.3 kB / 0.967 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.8369, allocations: 53.53 kB / 0.9671 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.8372, allocations: 319.2 kB / 0.9674 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.8373, allocations: 30.86 kB / 0.9674 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.8374, allocations: 187.3 kB / 0.9676 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.8375, allocations: 51.42 kB / 0.9676 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.712e-05/0.8376, allocations: 43.47 kB / 0.9677 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.8377, allocations: 340.9 kB / 0.968 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.8379, allocations: 82.47 kB / 0.9681 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.8381, allocations: 147 kB / 0.9682 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.8385, allocations: 239.2 kB / 0.9685 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.8385, allocations: 1.469 kB / 0.9685 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005574/0.8391, allocations: 285.2 kB / 0.9687 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.8391, allocations: 9.188 kB / 0.9687 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.8391, allocations: 3.266 kB / 0.9687 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.8392, allocations: 2.938 kB / 0.9687 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.8394, allocations: 44.73 kB / 0.9688 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.8394, allocations: 2.688 kB / 0.9688 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.8396, allocations: 32.09 kB / 0.9688 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.8396, allocations: 15.53 kB / 0.9688 GB, free: 12.68 MB / 0.7325 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.0001541/0.8398, allocations: 153.8 kB / 0.969 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.8399, allocations: 29.84 kB / 0.969 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006487/0.8406, allocations: 314.8 kB / 0.9693 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.8406, allocations: 2.531 kB / 0.9693 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.8406, allocations: 0 / 0.9693 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.8406, allocations: 1.094 kB / 0.9693 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.8418, allocations: 0.8044 MB / 0.9701 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.8418, allocations: 5.031 kB / 0.9701 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.842, allocations: 43.88 kB / 0.9701 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.842, allocations: 2.797 kB / 0.9702 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.842, allocations: 17.62 kB / 0.9702 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.842, allocations: 2.656 kB / 0.9702 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.842, allocations: 1.344 kB / 0.9702 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005674/0.8426, allocations: 399.3 kB / 0.9706 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.8428, allocations: 132.2 kB / 0.9707 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.8428, allocations: 13.11 kB / 0.9707 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.843, allocations: 15.09 kB / 0.9707 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.8431, allocations: 18.59 kB / 0.9707 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.8431, allocations: 18.95 kB / 0.9707 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000205/0.8434, allocations: 224.4 kB / 0.971 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8434, allocations: 0 / 0.971 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005467/0.8439, allocations: 119.8 kB / 0.9711 GB, free: 11.66 MB / 0.7325 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.001264/0.8452, allocations: 1.055 MB / 0.9721 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004849/0.8457, allocations: 223.2 kB / 0.9723 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.8457, allocations: 1.75 kB / 0.9723 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.8459, allocations: 120.3 kB / 0.9724 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008474/0.8468, allocations: 162 kB / 0.9726 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00385/0.8506, allocations: 3.037 MB / 0.9755 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.851, allocations: 0.7836 MB / 0.9763 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002894/0.8513, allocations: 87.2 kB / 0.9764 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.8514, allocations: 101.6 kB / 0.9765 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.8515, allocations: 1.406 kB / 0.9765 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.8801, allocations: 10.44 MB / 0.9867 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.926, allocations: 0.5938 kB / 0.9867 GB, free: 3.652 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)