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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 207.1 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002424/0.002424, allocations: 296.3 kB / 312.7 MB, free: 2.59 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.163/1.163, allocations: 180.6 MB / 0.5369 GB, free: 14.47 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002882/0.002882, allocations: 105 kB / 0.7395 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1736, allocations: 95.38 MB / 0.8327 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.185/0.3585, allocations: 149.5 MB / 0.9787 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4146/0.7731, allocations: 6.526 MB / 0.9851 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004516/0.7736, allocations: 18.31 kB / 0.9851 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000472/0.7741, allocations: 178.2 kB / 0.9852 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003203/0.7773, allocations: 1.297 MB / 0.9865 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.7791, allocations: 0.6555 MB / 0.9871 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001074/0.7801, allocations: 0.7713 MB / 0.9879 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004092/0.7806, allocations: 232.7 kB / 0.9881 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.7818, allocations: 0.5848 MB / 0.9887 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008151/0.7826, allocations: 450.1 kB / 0.9891 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/0.7826, allocations: 28.12 kB / 0.9891 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.7847, allocations: 1.049 MB / 0.9902 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.7848, allocations: 118.7 kB / 0.9903 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.785, allocations: 148.3 kB / 0.9904 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.7863, allocations: 0.8666 MB / 0.9913 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7863, allocations: 1.125 kB / 0.9913 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7863, allocations: 0 / 0.9913 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.7863, allocations: 0 / 0.9913 GB, free: 3.516 MB / 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.00105/0.7873, allocations: 0.6321 MB / 0.9919 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.7874, allocations: 13.56 kB / 0.9919 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.854e-05/0.7874, allocations: 61.88 kB / 0.992 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009135/0.7883, allocations: 138 kB / 0.9921 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.7889, allocations: 279.4 kB / 0.9924 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.135e-05/0.789, allocations: 75.97 kB / 0.9924 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.789, allocations: 30.73 kB / 0.9925 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006065/0.7896, allocations: 394.9 kB / 0.9928 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.7896, allocations: 4.125 kB / 0.9928 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.7897, allocations: 9.438 kB / 0.9929 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.7897, allocations: 9.312 kB / 0.9929 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.7901, allocations: 272.3 kB / 0.9931 GB, free: 18.7 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.001664/0.7918, allocations: 1.143 MB / 0.9942 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000384/0.7922, allocations: 184.3 kB / 0.9944 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.7924, allocations: 112.7 kB / 0.9945 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007671/0.7931, allocations: 135.7 kB / 0.9947 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.7932, allocations: 33.78 kB / 0.9947 GB, free: 18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.7932, allocations: 3.188 kB / 0.9947 GB, free: 18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0009651/0.7941, allocations: 359.2 kB / 0.995 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.7942, allocations: 54.48 kB / 0.9951 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.7945, allocations: 317.6 kB / 0.9954 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.7946, allocations: 28.22 kB / 0.9954 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.7947, allocations: 187.7 kB / 0.9956 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.7947, allocations: 55.25 kB / 0.9956 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/0.7948, allocations: 47.33 kB / 0.9957 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.795, allocations: 340 kB / 0.996 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.7951, allocations: 85.86 kB / 0.9961 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.7954, allocations: 228.5 kB / 0.9963 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.7958, allocations: 243 kB / 0.9965 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7958, allocations: 1.969 kB / 0.9965 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000547/0.7964, allocations: 287.3 kB / 0.9968 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.7964, allocations: 6.469 kB / 0.9968 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.7964, allocations: 4.156 kB / 0.9968 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.7964, allocations: 4.875 kB / 0.9968 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.7966, allocations: 40.19 kB / 0.9969 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.7967, allocations: 3.594 kB / 0.9969 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.7969, allocations: 33.16 kB / 0.9969 GB, free: 17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.7969, allocations: 14.5 kB / 0.9969 GB, free: 17 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.0001633/0.7971, allocations: 148.4 kB / 0.9971 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.7972, allocations: 36.02 kB / 0.9971 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000683/0.7979, allocations: 315.9 kB / 0.9974 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.7979, allocations: 2.688 kB / 0.9974 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7979, allocations: 0.9688 kB / 0.9974 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.7979, allocations: 4.25 kB / 0.9974 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.7992, allocations: 0.7502 MB / 0.9981 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.7992, allocations: 1.75 kB / 0.9981 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.7994, allocations: 39.55 kB / 0.9982 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.7994, allocations: 2.875 kB / 0.9982 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.7994, allocations: 5.062 kB / 0.9982 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.7994, allocations: 6.625 kB / 0.9982 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.7994, allocations: 8.781 kB / 0.9982 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006183/0.8, allocations: 404.5 kB / 0.9986 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.8002, allocations: 51.69 kB / 0.9986 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.8002, allocations: 11.17 kB / 0.9986 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.8004, allocations: 15.41 kB / 0.9987 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.8005, allocations: 18.08 kB / 0.9987 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.8005, allocations: 12.31 kB / 0.9987 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002473/0.8008, allocations: 229.7 kB / 0.9989 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.8008, allocations: 0.625 kB / 0.9989 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006089/0.8014, allocations: 124.7 kB / 0.999 GB, free: 16.16 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.001329/0.8027, allocations: 1.051 MB / 1 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005504/0.8033, allocations: 217.8 kB / 1 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.8033, allocations: 1.594 kB / 1 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.8035, allocations: 111.8 kB / 1 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008313/0.8043, allocations: 166.2 kB / 1.001 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/0.8082, allocations: 3.048 MB / 1.004 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.8083, allocations: 178.6 kB / 1.004 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000306/0.8086, allocations: 85.83 kB / 1.004 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.8088, allocations: 104 kB / 1.004 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.8088, allocations: 1.203 kB / 1.004 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03727/0.8461, allocations: 11.74 MB / 1.015 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.67, allocations: 2.656 kB / 1.015 GB, free: 12.25 MB / 0.7325 GB " [Timeout remaining time 648] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.691268119961023] Failed to read output from testmodel.py, exit status != 0: 11.776145169977099 11.787532542 10.998699963 Calling exit ...