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.001543/0.001543, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001706/0.001706, allocations: 217.1 kB / 23.01 MB, free: 4.609 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.384/1.384, allocations: 230.6 MB / 256.8 MB, free: 8.07 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.002564/0.002564, allocations: 289.8 kB / 313.5 MB, free: 2.945 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.184/1.184, allocations: 180.6 MB / 0.5377 GB, free: 13.1 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: translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") [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.00282/0.00282, allocations: 108.6 kB / 0.7408 GB, free: 27.64 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1665, allocations: 95.38 MB / 0.834 GB, free: 8.012 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.599/0.7655, allocations: 173.1 MB / 1.003 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008093/0.7736, allocations: 7.228 MB / 1.01 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005547/0.7742, allocations: 18.62 kB / 1.01 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005206/0.7747, allocations: 179.9 kB / 1.01 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003623/0.7783, allocations: 1.335 MB / 1.012 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.7802, allocations: 0.6673 MB / 1.012 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001188/0.7814, allocations: 0.7738 MB / 1.013 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004325/0.7818, allocations: 241.4 kB / 1.013 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.783, allocations: 0.5955 MB / 1.014 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008798/0.7839, allocations: 466.4 kB / 1.014 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.968e-05/0.7839, allocations: 29.47 kB / 1.014 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.7864, allocations: 1.37 MB / 1.016 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.7865, allocations: 121.8 kB / 1.016 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.7867, allocations: 175.8 kB / 1.016 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.7883, allocations: 0.9115 MB / 1.017 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.7883, allocations: 4.484 kB / 1.017 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7883, allocations: 0.625 kB / 1.017 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.7883, allocations: 0.6562 kB / 1.017 GB, free: 3.91 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.001147/0.7895, allocations: 0.6329 MB / 1.017 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.7895, allocations: 13.84 kB / 1.017 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009441/0.7904, allocations: 130.2 kB / 1.018 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004635/0.7909, allocations: 282.8 kB / 1.018 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-05/0.791, allocations: 72.69 kB / 1.018 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.791, allocations: 28.38 kB / 1.018 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005771/0.7916, allocations: 371.6 kB / 1.018 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.7916, allocations: 1.25 kB / 1.018 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.7917, allocations: 12.02 kB / 1.018 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.7917, allocations: 5.531 kB / 1.018 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004702/0.7921, allocations: 271.8 kB / 1.019 GB, free: 19.16 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.00185/0.794, allocations: 1.457 MB / 1.02 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.7943, allocations: 189.7 kB / 1.02 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.7945, allocations: 110.4 kB / 1.02 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007027/0.7952, allocations: 138 kB / 1.02 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.7952, allocations: 35.16 kB / 1.02 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.644e-06/0.7952, allocations: 0 / 1.02 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.000826/0.7961, allocations: 363 kB / 1.021 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.7961, allocations: 51.41 kB / 1.021 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.7964, allocations: 318.6 kB / 1.021 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.7964, allocations: 30.33 kB / 1.021 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.7965, allocations: 190.4 kB / 1.021 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.7965, allocations: 54.33 kB / 1.021 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/0.7966, allocations: 42 kB / 1.021 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.7967, allocations: 340.6 kB / 1.022 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.7969, allocations: 88.73 kB / 1.022 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.7971, allocations: 142.8 kB / 1.022 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/0.7974, allocations: 244.2 kB / 1.022 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7974, allocations: 7.656 kB / 1.022 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004884/0.7979, allocations: 286.7 kB / 1.022 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.7979, allocations: 6 kB / 1.022 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.798, allocations: 2.938 kB / 1.022 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.798, allocations: 0.9375 kB / 1.022 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.7982, allocations: 42.39 kB / 1.023 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.7982, allocations: 3.781 kB / 1.023 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.7984, allocations: 32.89 kB / 1.023 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.7984, allocations: 9.609 kB / 1.023 GB, free: 17.23 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.000156/0.7986, allocations: 162.3 kB / 1.023 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.777e-05/0.7987, allocations: 32.59 kB / 1.023 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006025/0.7993, allocations: 311.5 kB / 1.023 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.7993, allocations: 1.312 kB / 1.023 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7993, allocations: 4.672 kB / 1.023 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.7993, allocations: 0 / 1.023 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.8004, allocations: 0.7772 MB / 1.024 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.8004, allocations: 3.406 kB / 1.024 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.8006, allocations: 34.11 kB / 1.024 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.8006, allocations: 4.938 kB / 1.024 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.8006, allocations: 7.5 kB / 1.024 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.8006, allocations: 6.875 kB / 1.024 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.8006, allocations: 2.75 kB / 1.024 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.8011, allocations: 408.8 kB / 1.024 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.8013, allocations: 66.19 kB / 1.024 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.8013, allocations: 10.75 kB / 1.024 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.8015, allocations: 12.03 kB / 1.024 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.8016, allocations: 23.28 kB / 1.024 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.8016, allocations: 9.547 kB / 1.024 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000193/0.8018, allocations: 233.3 kB / 1.025 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8018, allocations: 1.406 kB / 1.025 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005398/0.8023, allocations: 123 kB / 1.025 GB, free: 16.39 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.0004101/0.8027, allocations: 217.5 kB / 1.025 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004175/0.8032, allocations: 214 kB / 1.025 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.8032, allocations: 3.375 kB / 1.025 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.8033, allocations: 108.9 kB / 1.025 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007551/0.8041, allocations: 156.1 kB / 1.025 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009055/0.805, allocations: 0.6305 MB / 1.026 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.8054, allocations: 0.7862 MB / 1.027 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.299e-05/0.8055, allocations: 33.45 kB / 1.027 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.8055, allocations: 1.938 kB / 1.027 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of Templates: time 0.007818/0.8133, allocations: 6.348 MB / 1.033 GB, free: 14.69 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.881524075055495] Failed to read output from testmodel.py, exit status != 0: 0.8203127719461918 0.83048361 0.039871004 Calling exit ...