Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.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.001447/0.001447, allocations: 114.8 kB / 19.69 MB, free: 2.188 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.001516/0.001516, allocations: 188.4 kB / 22.98 MB, free: 5.008 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.343/1.343, allocations: 225.6 MB / 251.8 MB, free: 13.02 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.8907/0.8907, allocations: 149.6 MB / 456.6 MB, free: 1.172 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.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity") translateModel(IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 76.19 kB / 0.6329 GB, free: 8.934 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.178, allocations: 87.87 MB / 0.7187 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.5389/0.717, allocations: 168.1 MB / 0.8829 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00305/0.72, allocations: 1.564 MB / 0.8844 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004685/0.7205, allocations: 19.81 kB / 0.8844 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006447/0.7211, allocations: 162.8 kB / 0.8846 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.7231, allocations: 0.739 MB / 0.8853 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.7248, allocations: 0.634 MB / 0.8859 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001056/0.7259, allocations: 0.7215 MB / 0.8866 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000443/0.7263, allocations: 197.1 kB / 0.8868 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.7275, allocations: 0.5138 MB / 0.8873 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.7279, allocations: 235 kB / 0.8875 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.522e-05/0.7279, allocations: 27.94 kB / 0.8876 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.7299, allocations: 0.9312 MB / 0.8885 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.7301, allocations: 115.6 kB / 0.8886 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003109/0.7304, allocations: 167.2 kB / 0.8887 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.7319, allocations: 0.7402 MB / 0.8895 GB, free: 15.77 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.7319, allocations: 0 / 0.8895 GB, free: 15.77 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7319, allocations: 0 / 0.8895 GB, free: 15.77 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.732, allocations: 0 / 0.8895 GB, free: 15.77 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001179/0.7331, allocations: 0.6017 MB / 0.89 GB, free: 15.14 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.7332, allocations: 8.625 kB / 0.8901 GB, free: 15.13 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.7347, allocations: 159.6 kB / 0.8902 GB, free: 14.98 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007815/0.7355, allocations: 264.5 kB / 0.8905 GB, free: 14.7 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.7355, allocations: 20.44 kB / 0.8905 GB, free: 14.68 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.246e-05/0.7356, allocations: 24 kB / 0.8905 GB, free: 14.65 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000727/0.7363, allocations: 285 kB / 0.8908 GB, free: 14.35 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.7363, allocations: 0 / 0.8908 GB, free: 14.35 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.7364, allocations: 8 kB / 0.8908 GB, free: 14.34 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.7364, allocations: 8.875 kB / 0.8908 GB, free: 14.34 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006345/0.737, allocations: 204.9 kB / 0.891 GB, free: 14.14 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.7392, allocations: 1.192 MB / 0.8921 GB, free: 12.84 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.7396, allocations: 138.5 kB / 0.8923 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.7398, allocations: 89.3 kB / 0.8924 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006033/0.7404, allocations: 79.91 kB / 0.8924 GB, free: 12.53 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.7404, allocations: 34.56 kB / 0.8925 GB, free: 12.49 MB / 0.67 GB Notification: Performance of pre-optimization done (n=17): time 2.144e-06/0.7405, allocations: 0 / 0.8925 GB, free: 12.49 MB / 0.67 GB Notification: Performance of matching and sorting (n=17): time 0.001158/0.7416, allocations: 299.2 kB / 0.8928 GB, free: 12.19 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.7417, allocations: 55.41 kB / 0.8928 GB, free: 12.12 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005393/0.7422, allocations: 320.5 kB / 0.8931 GB, free: 11.81 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.7422, allocations: 33.7 kB / 0.8931 GB, free: 11.77 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.7424, allocations: 180.2 kB / 0.8933 GB, free: 11.59 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.014e-05/0.7425, allocations: 63.47 kB / 0.8934 GB, free: 11.53 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.7426, allocations: 45.7 kB / 0.8934 GB, free: 11.48 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.7428, allocations: 346.8 kB / 0.8938 GB, free: 11.13 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.743, allocations: 63.95 kB / 0.8938 GB, free: 11.07 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.7434, allocations: 135.8 kB / 0.8939 GB, free: 10.92 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005067/0.7439, allocations: 196.3 kB / 0.8941 GB, free: 10.71 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.7439, allocations: 0 / 0.8941 GB, free: 10.71 MB / 0.67 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007032/0.7446, allocations: 265.1 kB / 0.8944 GB, free: 10.45 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.7446, allocations: 8.094 kB / 0.8944 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.7446, allocations: 4 kB / 0.8944 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.7446, allocations: 0 / 0.8944 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.7449, allocations: 39.98 kB / 0.8944 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.7449, allocations: 9.438 kB / 0.8944 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.7452, allocations: 35.77 kB / 0.8945 GB, free: 10.35 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.7452, allocations: 12 kB / 0.8945 GB, free: 10.34 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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.0002034/0.7454, allocations: 157.7 kB / 0.8946 GB, free: 10.18 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.386e-05/0.7455, allocations: 31.81 kB / 0.8947 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006344/0.7462, allocations: 234.7 kB / 0.8949 GB, free: 9.91 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.7462, allocations: 0 / 0.8949 GB, free: 9.91 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7462, allocations: 4 kB / 0.8949 GB, free: 9.906 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.7462, allocations: 2.312 kB / 0.8949 GB, free: 9.906 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.7477, allocations: 0.6786 MB / 0.8956 GB, free: 9.156 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.7477, allocations: 0 / 0.8956 GB, free: 9.156 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.7479, allocations: 35.97 kB / 0.8956 GB, free: 9.121 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.7479, allocations: 8.219 kB / 0.8956 GB, free: 9.113 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.7479, allocations: 7.938 kB / 0.8956 GB, free: 9.105 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.7479, allocations: 7.938 kB / 0.8956 GB, free: 9.098 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.7479, allocations: 4 kB / 0.8956 GB, free: 9.094 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008653/0.7488, allocations: 445.1 kB / 0.896 GB, free: 8.621 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.749, allocations: 47.73 kB / 0.8961 GB, free: 8.574 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-05/0.7491, allocations: 15.92 kB / 0.8961 GB, free: 8.559 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.7493, allocations: 8.062 kB / 0.8961 GB, free: 8.551 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.7494, allocations: 15.97 kB / 0.8961 GB, free: 8.535 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.7494, allocations: 12 kB / 0.8961 GB, free: 8.523 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003717/0.7498, allocations: 227 kB / 0.8964 GB, free: 8.301 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7498, allocations: 4 kB / 0.8964 GB, free: 8.297 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006256/0.7504, allocations: 79.89 kB / 0.8964 GB, free: 8.219 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (17): * Single equations (assignments): 17 * 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.0005463/0.751, allocations: 175.8 kB / 0.8966 GB, free: 8.047 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0006154/0.7516, allocations: 175.7 kB / 0.8968 GB, free: 7.875 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7516, allocations: 0 / 0.8968 GB, free: 7.875 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.7519, allocations: 96.33 kB / 0.8969 GB, free: 7.781 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.7531, allocations: 157.3 kB / 0.897 GB, free: 7.641 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.7547, allocations: 0.646 MB / 0.8976 GB, free: 6.941 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.7552, allocations: 0.791 MB / 0.8984 GB, free: 6.121 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002866/0.7555, allocations: 66.91 kB / 0.8985 GB, free: 6.059 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.608e-05/0.7556, allocations: 27.44 kB / 0.8985 GB, free: 6.031 MB / 0.67 GB Notification: Performance of SimCode: time 7.02e-07/0.7556, allocations: 0 / 0.8985 GB, free: 6.031 MB / 0.67 GB Notification: Performance of Templates: time 0.0141/0.7697, allocations: 5.994 MB / 0.9044 GB, free: 144 kB / 0.67 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.969284844584763] Failed to read output from testmodel.py, exit status != 0: 0.7787605943158269 0.792659025 0.057677238000000006 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f870219d7b0>