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.001445/0.001445, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001749/0.001749, allocations: 215 kB / 23.74 MB, free: 4.445 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.797 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 0.9755/0.9755, allocations: 149.9 MB / 463.8 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 179] 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.002119/0.002119, allocations: 71.95 kB / 0.6423 GB, free: 9.633 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1946, allocations: 89.17 MB / 0.7294 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5943/0.7889, allocations: 149.5 MB / 0.8754 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.7992, allocations: 6.535 MB / 0.8818 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005006/0.7997, allocations: 15.88 kB / 0.8818 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006721/0.8004, allocations: 178.7 kB / 0.882 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003638/0.804, allocations: 1.292 MB / 0.8832 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.8059, allocations: 0.662 MB / 0.8839 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00114/0.8071, allocations: 0.7563 MB / 0.8846 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004518/0.8075, allocations: 235.2 kB / 0.8848 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.8092, allocations: 0.7473 MB / 0.8856 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009338/0.8102, allocations: 438.1 kB / 0.886 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.299e-05/0.8102, allocations: 28 kB / 0.886 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.8124, allocations: 1.036 MB / 0.887 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.8126, allocations: 119.6 kB / 0.8871 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.8127, allocations: 151.3 kB / 0.8873 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.8142, allocations: 0.8634 MB / 0.8881 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.8142, allocations: 4 kB / 0.8881 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8142, allocations: 3.938 kB / 0.8881 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.8142, allocations: 4 kB / 0.8881 GB, free: 2.363 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.001112/0.8153, allocations: 0.6329 MB / 0.8888 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.8154, allocations: 8.031 kB / 0.8888 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.8164, allocations: 135.5 kB / 0.8889 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000624/0.817, allocations: 271.6 kB / 0.8892 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.8171, allocations: 80.06 kB / 0.8892 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.8172, allocations: 24 kB / 0.8893 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007247/0.8179, allocations: 396.9 kB / 0.8896 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.8179, allocations: 0 / 0.8896 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.818, allocations: 8 kB / 0.8896 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.818, allocations: 11.94 kB / 0.8897 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005586/0.8185, allocations: 273.8 kB / 0.8899 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.8204, allocations: 1.071 MB / 0.891 GB, free: 15.34 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.8209, allocations: 186.6 kB / 0.8911 GB, free: 15.14 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.8211, allocations: 108.8 kB / 0.8912 GB, free: 15.04 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007942/0.8219, allocations: 143.8 kB / 0.8914 GB, free: 14.89 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.8219, allocations: 31.12 kB / 0.8914 GB, free: 14.86 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/0.8219, allocations: 0 / 0.8914 GB, free: 14.86 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.001012/0.823, allocations: 350.5 kB / 0.8917 GB, free: 14.51 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.823, allocations: 63.39 kB / 0.8918 GB, free: 14.43 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.8233, allocations: 221.9 kB / 0.892 GB, free: 14.21 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.8233, allocations: 33.7 kB / 0.8921 GB, free: 14.17 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.8235, allocations: 196.5 kB / 0.8922 GB, free: 13.98 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.8235, allocations: 59.52 kB / 0.8923 GB, free: 13.92 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.919e-05/0.8236, allocations: 45.66 kB / 0.8923 GB, free: 13.87 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.8238, allocations: 334.8 kB / 0.8927 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.824, allocations: 83.94 kB / 0.8927 GB, free: 13.45 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.8243, allocations: 229.4 kB / 0.893 GB, free: 13.19 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/0.8248, allocations: 239.4 kB / 0.8932 GB, free: 12.93 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8248, allocations: 0.625 kB / 0.8932 GB, free: 12.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006092/0.8254, allocations: 281.2 kB / 0.8935 GB, free: 12.65 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.8254, allocations: 4 kB / 0.8935 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.8255, allocations: 4 kB / 0.8935 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.8255, allocations: 7.922 kB / 0.8935 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.8257, allocations: 39.92 kB / 0.8935 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.8257, allocations: 10.88 kB / 0.8935 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.8259, allocations: 23.88 kB / 0.8935 GB, free: 12.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.826, allocations: 12.19 kB / 0.8936 GB, free: 12.55 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.0002009/0.8262, allocations: 157.8 kB / 0.8937 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.8263, allocations: 23.86 kB / 0.8937 GB, free: 12.37 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007431/0.827, allocations: 302.6 kB / 0.894 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.827, allocations: 0 / 0.894 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.827, allocations: 3.938 kB / 0.894 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.827, allocations: 0 / 0.894 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.8284, allocations: 0.7182 MB / 0.8947 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.8284, allocations: 4 kB / 0.8947 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.8286, allocations: 27.98 kB / 0.8948 GB, free: 11.26 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.8286, allocations: 4 kB / 0.8948 GB, free: 11.26 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.8286, allocations: 12.22 kB / 0.8948 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/0.8286, allocations: 7.938 kB / 0.8948 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.8287, allocations: 7.922 kB / 0.8948 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006568/0.8293, allocations: 391.8 kB / 0.8952 GB, free: 10.81 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.8294, allocations: 55.72 kB / 0.8952 GB, free: 10.76 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.8295, allocations: 4.875 kB / 0.8952 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.8297, allocations: 19.92 kB / 0.8952 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.601e-05/0.8298, allocations: 19.97 kB / 0.8953 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.8298, allocations: 12 kB / 0.8953 GB, free: 10.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001663/0.83, allocations: 161.2 kB / 0.8954 GB, free: 10.55 MB / 0.67 GB Notification: Performance of sort global known variables: time 6e-08/0.83, allocations: 0 / 0.8954 GB, free: 10.55 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005759/0.8306, allocations: 135.6 kB / 0.8955 GB, free: 10.41 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.0005024/0.8311, allocations: 226.8 kB / 0.8958 GB, free: 10.18 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005592/0.8316, allocations: 217.9 kB / 0.896 GB, free: 9.969 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8316, allocations: 4 kB / 0.896 GB, free: 9.965 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.8319, allocations: 111.8 kB / 0.8961 GB, free: 9.855 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006684/0.8325, allocations: 104.3 kB / 0.8962 GB, free: 9.766 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.8338, allocations: 0.6183 MB / 0.8968 GB, free: 9.09 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.834, allocations: 176.8 kB / 0.897 GB, free: 8.891 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.8341, allocations: 35.42 kB / 0.897 GB, free: 8.855 MB / 0.67 GB Notification: Performance of SimCode: time 9.12e-07/0.8341, allocations: 0 / 0.897 GB, free: 8.855 MB / 0.67 GB Notification: Performance of Templates: time 0.01003/0.8442, allocations: 5.68 MB / 0.9025 GB, free: 3.223 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: 10.051944983191788] Failed to read output from testmodel.py, exit status != 0: 0.8534658048301935 0.868988731 0.051431236000000005 Calling exit ...