Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00143/0.00143, allocations: 73.97 kB / 20.65 MB, free: 3.848 MB / 18.57 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.001194/0.001194, allocations: 169 kB / 24.05 MB, free: 460 kB / 18.57 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.006/1.006, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001703/0.001703, allocations: 233.6 kB / 261.3 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7558/0.7558, allocations: 138.4 MB / 456.3 MB, free: 29.97 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") translateModel(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.5564 GB, free: 15.83 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.803e-05, allocations: 4.281 kB / 0.5564 GB, free: 15.83 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.4037/0.4037, allocations: 143.9 MB / 0.6968 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.4055, allocations: 1.277 MB / 0.6981 GB, free: 52.38 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002239/0.4057, allocations: 23.03 kB / 0.6981 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.406, allocations: 81.33 kB / 0.6982 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0007347/0.4068, allocations: 397.9 kB / 0.6986 GB, free: 52.22 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008218/0.4076, allocations: 459.6 kB / 0.699 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006819/0.4083, allocations: 0.7172 MB / 0.6997 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002961/0.4086, allocations: 200.5 kB / 0.6999 GB, free: 52.03 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005201/0.4091, allocations: 395.5 kB / 0.7003 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.4093, allocations: 202.7 kB / 0.7005 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.4094, allocations: 23.75 kB / 0.7005 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004212/0.4098, allocations: 310.8 kB / 0.7008 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.4099, allocations: 121.6 kB / 0.7009 GB, free: 51.9 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.4101, allocations: 116.9 kB / 0.701 GB, free: 51.89 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.4106, allocations: 447.9 kB / 0.7014 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4106, allocations: 0 / 0.7014 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4106, allocations: 1.375 kB / 0.7014 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.4106, allocations: 0 / 0.7014 GB, free: 51.82 MB / 0.5573 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.0005884/0.4112, allocations: 0.6647 MB / 0.7021 GB, free: 51.33 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.4112, allocations: 10.62 kB / 0.7021 GB, free: 51.33 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006545/0.4119, allocations: 215.8 kB / 0.7023 GB, free: 51.28 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.4122, allocations: 271.9 kB / 0.7026 GB, free: 51.1 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.4122, allocations: 21.88 kB / 0.7026 GB, free: 51.1 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.4122, allocations: 22.06 kB / 0.7026 GB, free: 51.1 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.4125, allocations: 229.1 kB / 0.7028 GB, free: 50.98 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4125, allocations: 3.984 kB / 0.7028 GB, free: 50.98 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.4125, allocations: 12.53 kB / 0.7028 GB, free: 50.98 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.4125, allocations: 5.969 kB / 0.7028 GB, free: 50.98 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.987e-05/0.4126, allocations: 72.05 kB / 0.7029 GB, free: 50.97 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006762/0.4133, allocations: 1.09 MB / 0.704 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.4134, allocations: 80.59 kB / 0.7041 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.721e-05/0.4134, allocations: 46.23 kB / 0.7041 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/0.4136, allocations: 50.05 kB / 0.7042 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.4136, allocations: 43.11 kB / 0.7042 GB, free: 50.06 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.4136, allocations: 0 / 0.7042 GB, free: 50.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=17): time 0.0002754/0.4139, allocations: 156.1 kB / 0.7043 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.4139, allocations: 57.53 kB / 0.7044 GB, free: 49.94 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.414, allocations: 296.5 kB / 0.7047 GB, free: 49.77 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.414, allocations: 30.7 kB / 0.7047 GB, free: 49.74 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.4141, allocations: 239.3 kB / 0.7049 GB, free: 49.57 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.4141, allocations: 64.97 kB / 0.705 GB, free: 49.53 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.4142, allocations: 53.97 kB / 0.705 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.26e-05/0.4142, allocations: 0.5085 MB / 0.7055 GB, free: 49.01 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.4143, allocations: 18.83 kB / 0.7056 GB, free: 49.01 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.862e-05/0.4143, allocations: 167.8 kB / 0.7057 GB, free: 48.84 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.554e-05/0.4144, allocations: 120.6 kB / 0.7058 GB, free: 48.76 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4144, allocations: 1.188 kB / 0.7058 GB, free: 48.76 MB / 0.5573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001633/0.4146, allocations: 158 kB / 0.706 GB, free: 48.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.4146, allocations: 9.312 kB / 0.706 GB, free: 48.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4146, allocations: 2.219 kB / 0.706 GB, free: 48.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.4146, allocations: 3.75 kB / 0.706 GB, free: 48.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.4147, allocations: 43.14 kB / 0.706 GB, free: 48.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.4147, allocations: 1.406 kB / 0.706 GB, free: 48.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.956e-05/0.4148, allocations: 29.31 kB / 0.7061 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.4148, allocations: 10.67 kB / 0.7061 GB, free: 48.68 MB / 0.5573 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 5.992e-05/0.4149, allocations: 171.1 kB / 0.7062 GB, free: 48.52 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.4149, allocations: 31.14 kB / 0.7063 GB, free: 48.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.4151, allocations: 136.2 kB / 0.7064 GB, free: 48.46 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4151, allocations: 5.062 kB / 0.7064 GB, free: 48.45 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.4151, allocations: 3.5 kB / 0.7064 GB, free: 48.45 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4151, allocations: 0 / 0.7064 GB, free: 48.45 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.4155, allocations: 0.5284 MB / 0.7069 GB, free: 48.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4155, allocations: 1.5 kB / 0.7069 GB, free: 48.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.27e-05/0.4156, allocations: 34.53 kB / 0.707 GB, free: 48.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4156, allocations: 3.281 kB / 0.707 GB, free: 48.07 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.4156, allocations: 9.469 kB / 0.707 GB, free: 48.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.4156, allocations: 2 kB / 0.707 GB, free: 48.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4156, allocations: 2.469 kB / 0.707 GB, free: 48.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.4158, allocations: 364.1 kB / 0.7073 GB, free: 47.77 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.4158, allocations: 42.62 kB / 0.7074 GB, free: 47.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.4158, allocations: 7.375 kB / 0.7074 GB, free: 47.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.4159, allocations: 3.562 kB / 0.7074 GB, free: 47.74 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.416, allocations: 26.52 kB / 0.7074 GB, free: 47.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.416, allocations: 4.531 kB / 0.7074 GB, free: 47.73 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.332e-05/0.416, allocations: 200.4 kB / 0.7076 GB, free: 47.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.416, allocations: 0 / 0.7076 GB, free: 47.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002583/0.4163, allocations: 91.03 kB / 0.7077 GB, free: 47.58 MB / 0.5573 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.000153/0.4164, allocations: 137.8 kB / 0.7078 GB, free: 47.48 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.4166, allocations: 102.5 kB / 0.7079 GB, free: 47.45 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4166, allocations: 0.875 kB / 0.7079 GB, free: 47.45 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.564e-05/0.4167, allocations: 55.36 kB / 0.708 GB, free: 47.43 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.4171, allocations: 122 kB / 0.7081 GB, free: 47.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007771/0.4179, allocations: 0.5931 MB / 0.7087 GB, free: 46.98 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.512e-05/0.4179, allocations: 98.22 kB / 0.7088 GB, free: 46.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.418, allocations: 40.48 kB / 0.7088 GB, free: 46.89 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.4182, allocations: 166.7 kB / 0.709 GB, free: 46.81 MB / 0.5573 GB Notification: Performance of SimCode: time 8.62e-07/0.4182, allocations: 0 / 0.709 GB, free: 46.81 MB / 0.5573 GB Notification: Performance of Templates: time 0.00727/0.4255, allocations: 5.201 MB / 0.714 GB, free: 46.26 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.212636755313724]