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.001534/0.001534, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001737/0.001737, allocations: 222.3 kB / 23 MB, free: 4.91 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002567/0.002567, allocations: 289.9 kB / 313.5 MB, free: 2.621 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.193/1.193, allocations: 180.6 MB / 0.5377 GB, free: 14.59 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.002888/0.002888, allocations: 103.4 kB / 0.7407 GB, free: 27.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1757, allocations: 95.39 MB / 0.8339 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1999/0.3756, allocations: 149.5 MB / 0.9799 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4701/0.8457, allocations: 6.525 MB / 0.9863 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007155/0.8464, allocations: 17.72 kB / 0.9863 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007344/0.8471, allocations: 173.9 kB / 0.9865 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005399/0.8525, allocations: 1.298 MB / 0.9877 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002475/0.855, allocations: 0.6566 MB / 0.9884 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001223/0.8562, allocations: 0.7732 MB / 0.9891 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004994/0.8567, allocations: 230.3 kB / 0.9893 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.8582, allocations: 0.5876 MB / 0.9899 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009706/0.8592, allocations: 444.2 kB / 0.9903 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.514e-05/0.8593, allocations: 27.38 kB / 0.9904 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.8616, allocations: 1.048 MB / 0.9914 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.8618, allocations: 124.2 kB / 0.9915 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.8619, allocations: 147 kB / 0.9916 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.8635, allocations: 0.8677 MB / 0.9925 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.8635, allocations: 1.594 kB / 0.9925 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8635, allocations: 0 / 0.9925 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.8635, allocations: 0 / 0.9925 GB, free: 3.785 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.001156/0.8646, allocations: 0.6337 MB / 0.9931 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.8647, allocations: 10.09 kB / 0.9931 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009783/0.8656, allocations: 131.8 kB / 0.9932 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.8661, allocations: 281.4 kB / 0.9935 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.372e-05/0.8662, allocations: 77.23 kB / 0.9936 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.8662, allocations: 28.86 kB / 0.9936 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005864/0.8668, allocations: 397.9 kB / 0.994 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.8668, allocations: 0.9062 kB / 0.994 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.8669, allocations: 11.03 kB / 0.994 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.8669, allocations: 9.031 kB / 0.994 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004353/0.8673, allocations: 274.4 kB / 0.9943 GB, free: 19 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.001524/0.8688, allocations: 1.067 MB / 0.9953 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.8692, allocations: 183.6 kB / 0.9955 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.8694, allocations: 117.3 kB / 0.9956 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007477/0.8702, allocations: 136.3 kB / 0.9957 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.8702, allocations: 40.06 kB / 0.9958 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.944e-06/0.8702, allocations: 4.969 kB / 0.9958 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0009792/0.8712, allocations: 353.4 kB / 0.9961 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.8712, allocations: 55.8 kB / 0.9962 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.8715, allocations: 230 kB / 0.9964 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.8715, allocations: 27.33 kB / 0.9964 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.8717, allocations: 199.6 kB / 0.9966 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.8717, allocations: 56.36 kB / 0.9967 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.237e-05/0.8718, allocations: 47.31 kB / 0.9967 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.872, allocations: 332.9 kB / 0.997 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.8722, allocations: 87.22 kB / 0.9971 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.8725, allocations: 231.8 kB / 0.9973 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.8729, allocations: 236.9 kB / 0.9975 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8729, allocations: 1.719 kB / 0.9976 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005989/0.8735, allocations: 279.7 kB / 0.9978 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.8735, allocations: 10.31 kB / 0.9978 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.8735, allocations: 1.938 kB / 0.9978 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.8735, allocations: 2.5 kB / 0.9978 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.8738, allocations: 40.77 kB / 0.9979 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.8738, allocations: 2.656 kB / 0.9979 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.874, allocations: 26.45 kB / 0.9979 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.874, allocations: 9.781 kB / 0.9979 GB, free: 17.34 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.0001847/0.8742, allocations: 154 kB / 0.9981 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.8743, allocations: 29.52 kB / 0.9981 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006922/0.875, allocations: 307.7 kB / 0.9984 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.875, allocations: 1.844 kB / 0.9984 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.875, allocations: 1.531 kB / 0.9984 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.875, allocations: 3.047 kB / 0.9984 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.8763, allocations: 0.7095 MB / 0.9991 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.8763, allocations: 1.406 kB / 0.9991 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.8765, allocations: 36.7 kB / 0.9991 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.8765, allocations: 5.891 kB / 0.9991 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.8765, allocations: 9.469 kB / 0.9991 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.8765, allocations: 2.469 kB / 0.9991 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.8765, allocations: 4.609 kB / 0.9991 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006659/0.8772, allocations: 398.8 kB / 0.9995 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.8773, allocations: 60.98 kB / 0.9996 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.8773, allocations: 10.16 kB / 0.9996 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.8776, allocations: 11.16 kB / 0.9996 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.8776, allocations: 19.73 kB / 0.9996 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.8776, allocations: 16.23 kB / 0.9996 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001811/0.8778, allocations: 162.5 kB / 0.9998 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8778, allocations: 0.5625 kB / 0.9998 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006728/0.8785, allocations: 132.9 kB / 0.9999 GB, free: 16.54 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.0005107/0.879, allocations: 222.7 kB / 1 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005756/0.8796, allocations: 215.3 kB / 1 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.8796, allocations: 0.6875 kB / 1 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.8799, allocations: 113.2 kB / 1 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006643/0.8805, allocations: 101.5 kB / 1.001 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.8817, allocations: 0.6203 MB / 1.001 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.8819, allocations: 179.8 kB / 1.001 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.882, allocations: 27.89 kB / 1.001 GB, free: 16 MB / 0.7325 GB Notification: Performance of SimCode: time 5.91e-07/0.882, allocations: 1.562 kB / 1.001 GB, free: 16 MB / 0.7325 GB Notification: Performance of Templates: time 0.009272/0.8913, allocations: 5.692 MB / 1.007 GB, free: 15.65 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.930874807294458] Failed to read output from testmodel.py, exit status != 0: 0.898485213983804 0.909425401 0.043233904000000004 Calling exit ...