Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001401/0.001401, allocations: 104.3 kB / 19.7 MB, free: 1.789 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.00156/0.00156, allocations: 214.8 kB / 22.99 MB, free: 4.617 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.017/1.017, allocations: 149.9 MB / 463 MB, free: 10.33 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 660] "Notification: IBPSA 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.002188/0.002188, allocations: 68.09 kB / 0.6416 GB, free: 9.617 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1847, allocations: 89.18 MB / 0.7286 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6418/0.8265, allocations: 149.5 MB / 0.8747 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01056/0.8371, allocations: 6.54 MB / 0.881 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006043/0.8377, allocations: 15.88 kB / 0.8811 GB, free: 8.828 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008148/0.8385, allocations: 178.7 kB / 0.8812 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005163/0.8437, allocations: 1.292 MB / 0.8825 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.8459, allocations: 0.666 MB / 0.8831 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001369/0.8473, allocations: 0.7563 MB / 0.8839 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007015/0.848, allocations: 234.9 kB / 0.8841 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.8503, allocations: 0.7473 MB / 0.8848 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.8515, allocations: 434.5 kB / 0.8852 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.684e-05/0.8516, allocations: 24 kB / 0.8853 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.8541, allocations: 1.04 MB / 0.8863 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.8543, allocations: 115.6 kB / 0.8864 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000274/0.8545, allocations: 155.2 kB / 0.8865 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.8567, allocations: 0.8559 MB / 0.8874 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.8567, allocations: 3.984 kB / 0.8874 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.91e-07/0.8567, allocations: 3.938 kB / 0.8874 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.141e-05/0.8568, allocations: 4 kB / 0.8874 GB, free: 2.332 MB / 0.6544 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.001366/0.8581, allocations: 0.6329 MB / 0.888 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.8582, allocations: 8.031 kB / 0.888 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.8592, allocations: 139.5 kB / 0.8881 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000668/0.8599, allocations: 271.6 kB / 0.8884 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.86, allocations: 80.06 kB / 0.8885 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.453e-05/0.8601, allocations: 24 kB / 0.8885 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007162/0.8608, allocations: 400.9 kB / 0.8889 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.8608, allocations: 0 / 0.8889 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.8608, allocations: 8 kB / 0.8889 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.8608, allocations: 15.88 kB / 0.8889 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005255/0.8614, allocations: 273.8 kB / 0.8892 GB, free: 420 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.8632, allocations: 1.071 MB / 0.8902 GB, free: 15.29 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.8636, allocations: 182.6 kB / 0.8904 GB, free: 15.11 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.8638, allocations: 112.8 kB / 0.8905 GB, free: 14.99 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007669/0.8646, allocations: 139.8 kB / 0.8906 GB, free: 14.86 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.8646, allocations: 30.56 kB / 0.8907 GB, free: 14.82 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.8646, allocations: 0 / 0.8907 GB, free: 14.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.000921/0.8655, allocations: 353.8 kB / 0.891 GB, free: 14.46 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.8656, allocations: 59.41 kB / 0.8911 GB, free: 14.39 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.8658, allocations: 225.9 kB / 0.8913 GB, free: 14.17 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.8659, allocations: 33.7 kB / 0.8913 GB, free: 14.13 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.866, allocations: 192.5 kB / 0.8915 GB, free: 13.94 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.28e-05/0.8661, allocations: 55.53 kB / 0.8915 GB, free: 13.88 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-05/0.8661, allocations: 49.66 kB / 0.8916 GB, free: 13.83 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.8663, allocations: 330.8 kB / 0.8919 GB, free: 13.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.8665, allocations: 87.92 kB / 0.892 GB, free: 13.41 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.8668, allocations: 231 kB / 0.8922 GB, free: 13.15 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.8672, allocations: 238.3 kB / 0.8924 GB, free: 12.89 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8672, allocations: 0 / 0.8924 GB, free: 12.89 MB / 0.67 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005711/0.8678, allocations: 281.2 kB / 0.8927 GB, free: 12.61 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.8678, allocations: 4 kB / 0.8927 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.8678, allocations: 4 kB / 0.8927 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.8678, allocations: 3.938 kB / 0.8927 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.8681, allocations: 43.53 kB / 0.8928 GB, free: 12.56 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.8681, allocations: 7.938 kB / 0.8928 GB, free: 12.55 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.8683, allocations: 23.88 kB / 0.8928 GB, free: 12.53 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.8683, allocations: 12.19 kB / 0.8928 GB, free: 12.52 MB / 0.67 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.0001766/0.8685, allocations: 153.8 kB / 0.8929 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.8686, allocations: 23.86 kB / 0.893 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006918/0.8693, allocations: 305.6 kB / 0.8933 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.8693, allocations: 3.984 kB / 0.8933 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.8693, allocations: 0 / 0.8933 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8693, allocations: 0 / 0.8933 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.8705, allocations: 0.7182 MB / 0.894 GB, free: 11.26 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.8706, allocations: 4 kB / 0.894 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.8707, allocations: 31.97 kB / 0.894 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.8707, allocations: 4 kB / 0.894 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.8707, allocations: 12.22 kB / 0.894 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/0.8708, allocations: 11.88 kB / 0.894 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8708, allocations: 0 / 0.894 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000601/0.8714, allocations: 391.8 kB / 0.8944 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.8715, allocations: 55.81 kB / 0.8945 GB, free: 10.72 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.8715, allocations: 11.92 kB / 0.8945 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.8717, allocations: 19.92 kB / 0.8945 GB, free: 10.69 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.8718, allocations: 11.98 kB / 0.8945 GB, free: 10.68 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.8718, allocations: 20.86 kB / 0.8945 GB, free: 10.66 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001518/0.872, allocations: 161.2 kB / 0.8947 GB, free: 10.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 8.1e-08/0.872, allocations: 0 / 0.8947 GB, free: 10.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005347/0.8725, allocations: 131.7 kB / 0.8948 GB, free: 10.38 MB / 0.67 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.0004586/0.873, allocations: 222.8 kB / 0.895 GB, free: 10.14 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005113/0.8735, allocations: 216 kB / 0.8952 GB, free: 9.934 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.8735, allocations: 4.062 kB / 0.8952 GB, free: 9.93 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.8737, allocations: 111.8 kB / 0.8953 GB, free: 9.82 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006537/0.8744, allocations: 109.9 kB / 0.8954 GB, free: 9.727 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.8755, allocations: 0.5932 MB / 0.896 GB, free: 9.082 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.8757, allocations: 180.8 kB / 0.8962 GB, free: 8.879 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002225/0.8759, allocations: 70.19 kB / 0.8962 GB, free: 8.812 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.53e-05/0.876, allocations: 27.42 kB / 0.8963 GB, free: 8.785 MB / 0.67 GB Notification: Performance of SimCode: time 4e-07/0.876, allocations: 0 / 0.8963 GB, free: 8.785 MB / 0.67 GB Notification: Performance of Templates: time 0.01236/0.8884, allocations: 6.348 MB / 0.9025 GB, free: 2.559 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9876112174242735] Failed to read output from testmodel.py, exit status != 0: 0.8971871640533209 0.911139573 0.051212276 Calling exit ...