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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 114.8 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002201/0.002201, allocations: 190.6 kB / 22.98 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 225.6 MB / 251.8 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9824/0.9824, allocations: 149.6 MB / 456.6 MB, free: 1.184 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 67.41 kB / 0.6329 GB, free: 8.992 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2091, allocations: 87.87 MB / 0.7187 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6497/0.8588, allocations: 170.2 MB / 0.8849 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.8688, allocations: 7.208 MB / 0.8919 GB, free: 13.24 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000555/0.8694, allocations: 19.81 kB / 0.892 GB, free: 13.22 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006409/0.87, allocations: 170.7 kB / 0.8921 GB, free: 13.05 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003864/0.8739, allocations: 1.334 MB / 0.8934 GB, free: 11.71 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.8758, allocations: 0.6605 MB / 0.8941 GB, free: 11.05 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001093/0.8769, allocations: 0.768 MB / 0.8948 GB, free: 10.28 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004375/0.8773, allocations: 239.2 kB / 0.895 GB, free: 10.04 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.879, allocations: 0.7435 MB / 0.8958 GB, free: 9.297 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008873/0.8799, allocations: 442.4 kB / 0.8962 GB, free: 8.863 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.818e-05/0.88, allocations: 28 kB / 0.8962 GB, free: 8.836 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/0.8826, allocations: 1.364 MB / 0.8976 GB, free: 7.469 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.8828, allocations: 111.6 kB / 0.8977 GB, free: 7.359 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.883, allocations: 183.1 kB / 0.8978 GB, free: 7.18 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.8845, allocations: 0.8999 MB / 0.8987 GB, free: 6.281 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.8845, allocations: 12 kB / 0.8987 GB, free: 6.27 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.824e-06/0.8845, allocations: 0 / 0.8987 GB, free: 6.27 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.8846, allocations: 0 / 0.8987 GB, free: 6.27 MB / 0.67 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.001116/0.8857, allocations: 0.6251 MB / 0.8993 GB, free: 5.613 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.8857, allocations: 8.625 kB / 0.8993 GB, free: 5.605 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.8868, allocations: 135.6 kB / 0.8995 GB, free: 5.473 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005978/0.8873, allocations: 283.5 kB / 0.8997 GB, free: 5.172 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-05/0.8874, allocations: 46.36 kB / 0.8998 GB, free: 5.121 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.8875, allocations: 24 kB / 0.8998 GB, free: 5.098 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007235/0.8882, allocations: 375.2 kB / 0.9002 GB, free: 4.707 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.8882, allocations: 4 kB / 0.9002 GB, free: 4.703 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.8883, allocations: 8 kB / 0.9002 GB, free: 4.695 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.8883, allocations: 11.94 kB / 0.9002 GB, free: 4.684 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005736/0.8888, allocations: 265.8 kB / 0.9004 GB, free: 4.422 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.891, allocations: 1.465 MB / 0.9019 GB, free: 2.84 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000428/0.8914, allocations: 179.7 kB / 0.902 GB, free: 2.656 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/0.8917, allocations: 121.4 kB / 0.9022 GB, free: 2.535 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007983/0.8925, allocations: 131.9 kB / 0.9023 GB, free: 2.406 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.8925, allocations: 38.5 kB / 0.9023 GB, free: 2.359 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.983e-06/0.8925, allocations: 0 / 0.9023 GB, free: 2.359 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.001032/0.8935, allocations: 354 kB / 0.9027 GB, free: 2.008 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.8936, allocations: 51.41 kB / 0.9027 GB, free: 1.945 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.894, allocations: 320.5 kB / 0.903 GB, free: 1.629 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.894, allocations: 25.7 kB / 0.903 GB, free: 1.598 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.8942, allocations: 196.3 kB / 0.9032 GB, free: 1.398 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.172e-05/0.8942, allocations: 59.5 kB / 0.9033 GB, free: 1.34 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.33e-05/0.8943, allocations: 45.7 kB / 0.9033 GB, free: 1.289 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.8945, allocations: 338.8 kB / 0.9036 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.8947, allocations: 87.92 kB / 0.9037 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.895, allocations: 149 kB / 0.9039 GB, free: 0.6992 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/0.8955, allocations: 237.8 kB / 0.9041 GB, free: 456 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8955, allocations: 0 / 0.9041 GB, free: 456 kB / 0.67 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006132/0.8961, allocations: 285.2 kB / 0.9044 GB, free: 164 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.8961, allocations: 7.938 kB / 0.9044 GB, free: 156 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.8961, allocations: 4.188 kB / 0.9044 GB, free: 152 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.8961, allocations: 4 kB / 0.9044 GB, free: 148 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.8963, allocations: 35.98 kB / 0.9044 GB, free: 112 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.8963, allocations: 6.188 kB / 0.9044 GB, free: 108 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.8965, allocations: 31.77 kB / 0.9045 GB, free: 76 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.8966, allocations: 19.98 kB / 0.9045 GB, free: 56 kB / 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.0001995/0.8968, allocations: 157.6 kB / 0.9046 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.8969, allocations: 31.81 kB / 0.9047 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007325/0.8976, allocations: 311.7 kB / 0.905 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.8976, allocations: 4 kB / 0.905 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.8976, allocations: 0 / 0.905 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.8976, allocations: 0 / 0.905 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.899, allocations: 0.784 MB / 0.9057 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.899, allocations: 0 / 0.9057 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.8992, allocations: 40.08 kB / 0.9058 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.8992, allocations: 15.81 kB / 0.9058 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.8993, allocations: 11.98 kB / 0.9058 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.8993, allocations: 0 / 0.9058 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.8993, allocations: 7.938 kB / 0.9058 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006263/0.8999, allocations: 394.6 kB / 0.9062 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.9, allocations: 59.72 kB / 0.9062 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.9001, allocations: 4 kB / 0.9062 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.9003, allocations: 15.98 kB / 0.9063 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.9004, allocations: 27.91 kB / 0.9063 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.9004, allocations: 8 kB / 0.9063 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002398/0.9006, allocations: 227 kB / 0.9065 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.9006, allocations: 0 / 0.9065 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005247/0.9012, allocations: 123.7 kB / 0.9066 GB, free: 13.75 MB / 0.6856 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.0006017/0.9018, allocations: 239.4 kB / 0.9068 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005465/0.9023, allocations: 211.7 kB / 0.9071 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9023, allocations: 0 / 0.9071 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.9026, allocations: 112.5 kB / 0.9072 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008735/0.9034, allocations: 160 kB / 0.9073 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.9048, allocations: 0.5896 MB / 0.9079 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.9052, allocations: 0.7873 MB / 0.9087 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002456/0.9055, allocations: 91.67 kB / 0.9087 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.962e-05/0.9056, allocations: 35.31 kB / 0.9088 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of SimCode: time 3.31e-07/0.9056, allocations: 0 / 0.9088 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of Templates: time 0.01412/0.9197, allocations: 7.442 MB / 0.916 GB, free: 4.121 MB / 0.6856 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.9947029715403914] Failed to read output from testmodel.py, exit status != 0: 0.9282943541184068 0.942460699 0.05469679 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa9081697b0>