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.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.001742/0.001742, allocations: 74.58 kB / 20.51 MB, free: 1.281 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.00211/0.00211, allocations: 169.8 kB / 23.77 MB, free: 4.461 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.475/1.475, allocations: 177.2 MB / 204.1 MB, free: 8.969 MB / 190.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.9382/0.9382, allocations: 113.9 MB / 374.5 MB, free: 12.87 MB / 350.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.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: 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.002097/0.002097, allocations: 72.78 kB / 0.5551 GB, free: 2.711 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1748, allocations: 89.13 MB / 0.6421 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.5955/0.7703, allocations: 147.6 MB / 0.7863 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003063/0.7733, allocations: 1.496 MB / 0.7877 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003132/0.7736, allocations: 16.16 kB / 0.7878 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005615/0.7742, allocations: 157.4 kB / 0.7879 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.776, allocations: 0.703 MB / 0.7886 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.7776, allocations: 0.6248 MB / 0.7892 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0009075/0.7785, allocations: 0.7201 MB / 0.7899 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003795/0.7789, allocations: 183.3 kB / 0.7901 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.7799, allocations: 0.5273 MB / 0.7906 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.7802, allocations: 217.6 kB / 0.7908 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.287e-05/0.7803, allocations: 24.53 kB / 0.7908 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.7815, allocations: 0.7053 MB / 0.7915 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.7816, allocations: 118.2 kB / 0.7916 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.7818, allocations: 143.1 kB / 0.7918 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0009672/0.7828, allocations: 0.7065 MB / 0.7925 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7828, allocations: 0 / 0.7925 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7828, allocations: 0 / 0.7925 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.7828, allocations: 4 kB / 0.7925 GB, free: 7.34 MB / 0.6387 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.0009391/0.7837, allocations: 0.6013 MB / 0.7931 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.7837, allocations: 11.06 kB / 0.7931 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.7848, allocations: 159.3 kB / 0.7932 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005317/0.7854, allocations: 264.7 kB / 0.7935 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.7854, allocations: 23 kB / 0.7935 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.7855, allocations: 23.97 kB / 0.7935 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004731/0.7859, allocations: 285.1 kB / 0.7938 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.7859, allocations: 3.938 kB / 0.7938 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.786, allocations: 10.5 kB / 0.7938 GB, free: 6.305 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.786, allocations: 8.156 kB / 0.7938 GB, free: 6.305 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.7864, allocations: 199.4 kB / 0.794 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.7876, allocations: 0.9295 MB / 0.7949 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.7879, allocations: 146.2 kB / 0.795 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.7881, allocations: 93.89 kB / 0.7951 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004452/0.7885, allocations: 69.08 kB / 0.7952 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.7886, allocations: 33.78 kB / 0.7952 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.7886, allocations: 0 / 0.7952 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of matching and sorting (n=17): time 0.0007546/0.7893, allocations: 293.5 kB / 0.7955 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.7894, allocations: 57.84 kB / 0.7956 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.7896, allocations: 265.4 kB / 0.7958 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.7896, allocations: 25.7 kB / 0.7958 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.7898, allocations: 188.5 kB / 0.796 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/0.7898, allocations: 62.97 kB / 0.7961 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.326e-05/0.7899, allocations: 49.02 kB / 0.7961 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.79, allocations: 336 kB / 0.7965 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.7902, allocations: 69.22 kB / 0.7965 GB, free: 4.164 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.7905, allocations: 202.2 kB / 0.7967 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003857/0.7909, allocations: 204.7 kB / 0.7969 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.7909, allocations: 7.938 kB / 0.7969 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004877/0.7914, allocations: 245.3 kB / 0.7971 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.7914, allocations: 5.562 kB / 0.7972 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7914, allocations: 4 kB / 0.7972 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.7914, allocations: 0 / 0.7972 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.7916, allocations: 47.91 kB / 0.7972 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.7916, allocations: 6.5 kB / 0.7972 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.7918, allocations: 31.92 kB / 0.7972 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.7919, allocations: 12 kB / 0.7972 GB, free: 3.359 MB / 0.6387 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.0001484/0.792, allocations: 145.8 kB / 0.7974 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.7921, allocations: 27.8 kB / 0.7974 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004966/0.7926, allocations: 224.6 kB / 0.7976 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.7926, allocations: 0 / 0.7976 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7926, allocations: 0 / 0.7976 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.7926, allocations: 0 / 0.7976 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.7936, allocations: 0.6362 MB / 0.7983 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.7936, allocations: 0 / 0.7983 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.7938, allocations: 35.61 kB / 0.7983 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.7938, allocations: 4.141 kB / 0.7983 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.7938, allocations: 16.16 kB / 0.7983 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.7938, allocations: 0 / 0.7983 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.7938, allocations: 7.938 kB / 0.7983 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007083/0.7945, allocations: 447.4 kB / 0.7987 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.855e-05/0.7946, allocations: 47.8 kB / 0.7988 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.7947, allocations: 11.94 kB / 0.7988 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.7948, allocations: 4 kB / 0.7988 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.7949, allocations: 27.97 kB / 0.7988 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.7949, allocations: 4 kB / 0.7988 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001689/0.7951, allocations: 183.1 kB / 0.799 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7951, allocations: 4 kB / 0.799 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004588/0.7955, allocations: 91.78 kB / 0.7991 GB, free: 1.359 MB / 0.6387 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.0003077/0.7958, allocations: 147.1 kB / 0.7992 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000454/0.7963, allocations: 179.8 kB / 0.7994 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7963, allocations: 0 / 0.7994 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.7965, allocations: 87.83 kB / 0.7995 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007157/0.7972, allocations: 123.9 kB / 0.7996 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.7982, allocations: 0.6264 MB / 0.8002 GB, free: 160 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.7984, allocations: 183.4 kB / 0.8004 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000161/0.7986, allocations: 50.25 kB / 0.8004 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.7986, allocations: 32.48 kB / 0.8005 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/0.7986, allocations: 0 / 0.8005 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of Templates: time 0.009759/0.8084, allocations: 4.834 MB / 0.8052 GB, free: 11.16 MB / 0.6544 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.378681531059556] Failed to read output from testmodel.py, exit status != 0: 0.8170119950082153 0.8305178190000001 0.044731593 Calling exit ...