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.001243/0.001243, allocations: 110.4 kB / 18.94 MB, free: 2.797 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.001383/0.001383, allocations: 223.2 kB / 22.26 MB, free: 5.211 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.381/1.381, allocations: 230.6 MB / 256 MB, free: 7.977 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.002396/0.002396, allocations: 287 kB / 312.7 MB, free: 2.789 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.159/1.159, allocations: 180.6 MB / 0.5369 GB, free: 12.96 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.002747/0.002747, allocations: 106 kB / 0.7396 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1609, allocations: 95.39 MB / 0.8327 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5999/0.7609, allocations: 173.1 MB / 1.002 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007647/0.7685, allocations: 7.233 MB / 1.009 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005781/0.7691, allocations: 18.5 kB / 1.009 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005126/0.7696, allocations: 177.8 kB / 1.009 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003753/0.7733, allocations: 1.338 MB / 1.01 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.7753, allocations: 0.662 MB / 1.011 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.7765, allocations: 0.7745 MB / 1.012 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003693/0.7768, allocations: 242 kB / 1.012 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.7781, allocations: 0.6024 MB / 1.013 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008243/0.7789, allocations: 462.8 kB / 1.013 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.7789, allocations: 25.19 kB / 1.013 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00261/0.7815, allocations: 1.373 MB / 1.014 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.7817, allocations: 118.4 kB / 1.014 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002294/0.7819, allocations: 180.2 kB / 1.015 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.7836, allocations: 0.9133 MB / 1.016 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.7836, allocations: 1.094 kB / 1.016 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7836, allocations: 1.031 kB / 1.016 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.036e-06/0.7836, allocations: 1.625 kB / 1.016 GB, free: 3.184 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.00117/0.7848, allocations: 0.6306 MB / 1.016 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.7849, allocations: 15.02 kB / 1.016 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.726e-05/0.7849, allocations: 62.69 kB / 1.016 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009503/0.7859, allocations: 129 kB / 1.016 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.7863, allocations: 277.8 kB / 1.017 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.954e-05/0.7864, allocations: 72.22 kB / 1.017 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.7865, allocations: 30.78 kB / 1.017 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005709/0.787, allocations: 367.6 kB / 1.017 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.787, allocations: 0.9062 kB / 1.017 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.7871, allocations: 10.69 kB / 1.017 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.7871, allocations: 10.69 kB / 1.017 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.7876, allocations: 270 kB / 1.017 GB, free: 18.39 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.001917/0.7895, allocations: 1.464 MB / 1.019 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/0.7898, allocations: 189.5 kB / 1.019 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.79, allocations: 117 kB / 1.019 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007292/0.7907, allocations: 131.4 kB / 1.019 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.7908, allocations: 34.62 kB / 1.019 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.7908, allocations: 1 kB / 1.019 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0009066/0.7917, allocations: 360.4 kB / 1.02 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.7917, allocations: 54.66 kB / 1.02 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.792, allocations: 313.7 kB / 1.02 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.792, allocations: 29.36 kB / 1.02 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.7921, allocations: 193.2 kB / 1.02 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.7921, allocations: 52.91 kB / 1.02 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-05/0.7922, allocations: 46.97 kB / 1.02 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.7923, allocations: 337.8 kB / 1.021 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.7925, allocations: 92.61 kB / 1.021 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.7927, allocations: 140 kB / 1.021 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.793, allocations: 242.2 kB / 1.021 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.793, allocations: 1.938 kB / 1.021 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004907/0.7935, allocations: 291.8 kB / 1.021 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.7935, allocations: 5.344 kB / 1.021 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.7935, allocations: 3.812 kB / 1.021 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.7936, allocations: 2.094 kB / 1.021 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.7938, allocations: 45.02 kB / 1.021 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.7938, allocations: 4.391 kB / 1.021 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.794, allocations: 34.97 kB / 1.021 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.794, allocations: 16.97 kB / 1.021 GB, free: 16.47 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.0001503/0.7942, allocations: 153.6 kB / 1.022 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.402e-05/0.7943, allocations: 29.53 kB / 1.022 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005845/0.7948, allocations: 317.4 kB / 1.022 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.7949, allocations: 3.25 kB / 1.022 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7949, allocations: 0 / 1.022 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.7949, allocations: 5.297 kB / 1.022 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.796, allocations: 0.7746 MB / 1.023 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.796, allocations: 1.438 kB / 1.023 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.7962, allocations: 37.69 kB / 1.023 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.7962, allocations: 10.06 kB / 1.023 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.7962, allocations: 5.766 kB / 1.023 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.7962, allocations: 7.938 kB / 1.023 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.7962, allocations: 1.969 kB / 1.023 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000527/0.7968, allocations: 398.8 kB / 1.023 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.7969, allocations: 69.81 kB / 1.023 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.7969, allocations: 6.438 kB / 1.023 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.7971, allocations: 16.16 kB / 1.023 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.7972, allocations: 19.84 kB / 1.023 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.7972, allocations: 15.19 kB / 1.023 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001994/0.7974, allocations: 227.7 kB / 1.023 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7974, allocations: 0 / 1.023 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005367/0.798, allocations: 122.2 kB / 1.024 GB, free: 15.63 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.00125/0.7992, allocations: 1.055 MB / 1.025 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004189/0.7996, allocations: 215.8 kB / 1.025 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7996, allocations: 1.094 kB / 1.025 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.7998, allocations: 110.7 kB / 1.025 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007977/0.8006, allocations: 156 kB / 1.025 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003508/0.8041, allocations: 3.055 MB / 1.028 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.8045, allocations: 0.7874 MB / 1.029 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000259/0.8048, allocations: 96.52 kB / 1.029 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.8049, allocations: 104.7 kB / 1.029 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.8049, allocations: 0 / 1.029 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/0.8404, allocations: 10.74 MB / 1.039 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/11.21, allocations: 0 / 1.039 GB, free: 11.65 MB / 0.7325 GB " [Timeout remaining time 649] (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.212971542001469] Failed to read output from testmodel.py, exit status != 0: 11.316293479001615 11.328085499 10.541613977 Calling exit ...