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.001854/0.001854, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002382/0.002382, allocations: 216.5 kB / 22.25 MB, free: 4.855 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.793 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.002665/0.002665, allocations: 291.6 kB / 312.7 MB, free: 2.605 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.335/1.335, allocations: 180.6 MB / 0.5369 GB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 178] 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.00301/0.00301, allocations: 98.81 kB / 0.74 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2133, allocations: 95.39 MB / 0.8332 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2052/0.4185, allocations: 149.5 MB / 0.9792 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4391/0.8576, allocations: 6.532 MB / 0.9855 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005034/0.8582, allocations: 18.58 kB / 0.9856 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005885/0.8587, allocations: 172.3 kB / 0.9857 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003955/0.8627, allocations: 1.297 MB / 0.987 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.8648, allocations: 0.6557 MB / 0.9876 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009935/0.8658, allocations: 0.7716 MB / 0.9884 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004082/0.8662, allocations: 232.8 kB / 0.9886 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.8676, allocations: 0.5855 MB / 0.9892 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008812/0.8684, allocations: 448.2 kB / 0.9896 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.8685, allocations: 26.91 kB / 0.9896 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.8704, allocations: 1.046 MB / 0.9906 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.8705, allocations: 124.2 kB / 0.9908 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.8707, allocations: 152.1 kB / 0.9909 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.8719, allocations: 0.8619 MB / 0.9917 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8719, allocations: 3.125 kB / 0.9918 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8719, allocations: 3.656 kB / 0.9918 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.8719, allocations: 0 / 0.9918 GB, free: 3.746 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.001115/0.873, allocations: 0.6349 MB / 0.9924 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.8731, allocations: 11.53 kB / 0.9924 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009959/0.8741, allocations: 126.4 kB / 0.9925 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005406/0.8746, allocations: 282.2 kB / 0.9928 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-05/0.8747, allocations: 81.23 kB / 0.9929 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.8747, allocations: 24.41 kB / 0.9929 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006635/0.8754, allocations: 400 kB / 0.9933 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.8754, allocations: 0 / 0.9933 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.8754, allocations: 13.88 kB / 0.9933 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.8755, allocations: 9.375 kB / 0.9933 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004758/0.8759, allocations: 270.6 kB / 0.9935 GB, free: 18.96 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.00178/0.8777, allocations: 1.071 MB / 0.9946 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.8781, allocations: 184 kB / 0.9948 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.8783, allocations: 109.8 kB / 0.9949 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007573/0.8791, allocations: 139.1 kB / 0.995 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.8791, allocations: 37.55 kB / 0.995 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.462e-06/0.8791, allocations: 0.6562 kB / 0.995 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0009671/0.8801, allocations: 357.3 kB / 0.9954 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.8801, allocations: 55.39 kB / 0.9954 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.8804, allocations: 229 kB / 0.9956 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.8804, allocations: 29.2 kB / 0.9957 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.8806, allocations: 200.5 kB / 0.9959 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.8806, allocations: 56.31 kB / 0.9959 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.624e-05/0.8807, allocations: 47.62 kB / 0.996 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.8809, allocations: 331.2 kB / 0.9963 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.8811, allocations: 87.59 kB / 0.9964 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.8814, allocations: 222.7 kB / 0.9966 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.8818, allocations: 239.3 kB / 0.9968 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8818, allocations: 1.156 kB / 0.9968 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005867/0.8824, allocations: 277.7 kB / 0.9971 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.8824, allocations: 11.77 kB / 0.9971 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.8824, allocations: 1.938 kB / 0.9971 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.8824, allocations: 2.438 kB / 0.9971 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.8827, allocations: 48.05 kB / 0.9971 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.8827, allocations: 5.594 kB / 0.9971 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.8828, allocations: 19.83 kB / 0.9972 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.8829, allocations: 16.41 kB / 0.9972 GB, free: 17.3 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.0001644/0.883, allocations: 144.6 kB / 0.9973 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.8832, allocations: 31.14 kB / 0.9973 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006864/0.8838, allocations: 307.1 kB / 0.9976 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.8838, allocations: 2.5 kB / 0.9976 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8838, allocations: 2.016 kB / 0.9976 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.8839, allocations: 3.969 kB / 0.9976 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.8852, allocations: 0.7181 MB / 0.9983 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.8852, allocations: 3.25 kB / 0.9983 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.8854, allocations: 37.14 kB / 0.9984 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.8854, allocations: 4.031 kB / 0.9984 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.8854, allocations: 7.906 kB / 0.9984 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.8854, allocations: 2.844 kB / 0.9984 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.8854, allocations: 2.344 kB / 0.9984 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000657/0.8861, allocations: 402.6 kB / 0.9988 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.8862, allocations: 53.23 kB / 0.9988 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.8863, allocations: 8.188 kB / 0.9988 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.8865, allocations: 13.44 kB / 0.9989 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.8866, allocations: 25.14 kB / 0.9989 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.8866, allocations: 11.78 kB / 0.9989 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000178/0.8868, allocations: 162.9 kB / 0.999 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8868, allocations: 0.9375 kB / 0.999 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006516/0.8874, allocations: 131.9 kB / 0.9992 GB, free: 16.5 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.0005013/0.8879, allocations: 218.4 kB / 0.9994 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005713/0.8885, allocations: 212.6 kB / 0.9996 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.8885, allocations: 0.5 kB / 0.9996 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.8887, allocations: 114.6 kB / 0.9997 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006755/0.8894, allocations: 103.5 kB / 0.9998 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.8906, allocations: 0.5891 MB / 1 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.8908, allocations: 186 kB / 1.001 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002914/0.8911, allocations: 71.92 kB / 1.001 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.767e-05/0.8912, allocations: 27.36 kB / 1.001 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.8912, allocations: 0 / 1.001 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of Templates: time 0.01181/0.903, allocations: 6.373 MB / 1.007 GB, free: 15.57 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: 7.397291606292129] Failed to read output from testmodel.py, exit status != 0: 0.9100356921553612 0.9207062659999999 0.046221796 Calling exit ...