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.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.001497/0.001497, allocations: 101.7 kB / 19.59 MB, free: 2.324 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.001598/0.001598, allocations: 191 kB / 22.85 MB, free: 5.652 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.367/1.367, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002511/0.002511, allocations: 289.8 kB / 307.1 MB, free: 8.449 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.175/1.175, allocations: 180.8 MB / 0.5304 GB, free: 14.56 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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 0.002788/0.002788, allocations: 105.3 kB / 0.7311 GB, free: 38.65 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1821, allocations: 94.2 MB / 0.8231 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.2041/0.3862, allocations: 166.3 MB / 0.9855 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003691/0.3899, allocations: 1.551 MB / 0.9871 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003637/0.3903, allocations: 15.88 kB / 0.9871 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007334/0.391, allocations: 154.8 kB / 0.9872 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.3932, allocations: 0.7585 MB / 0.988 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.3949, allocations: 0.6294 MB / 0.9886 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001014/0.3959, allocations: 0.7371 MB / 0.9893 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003901/0.3963, allocations: 181.4 kB / 0.9895 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006736/0.397, allocations: 358.6 kB / 0.9898 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003406/0.3973, allocations: 243 kB / 0.99 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.566e-05/0.3974, allocations: 24 kB / 0.9901 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.3987, allocations: 0.7245 MB / 0.9908 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.3988, allocations: 119.6 kB / 0.9909 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.399, allocations: 175.1 kB / 0.9911 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.4001, allocations: 0.6969 MB / 0.9917 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4001, allocations: 3.938 kB / 0.9917 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4001, allocations: 0 / 0.9917 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.4001, allocations: 0 / 0.9917 GB, free: 4.539 MB / 0.7325 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.00102/0.4011, allocations: 0.6057 MB / 0.9923 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.4011, allocations: 8.031 kB / 0.9923 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.4023, allocations: 155.6 kB / 0.9925 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.4029, allocations: 272.5 kB / 0.9928 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.4029, allocations: 16.5 kB / 0.9928 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.4029, allocations: 27.94 kB / 0.9928 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005444/0.4035, allocations: 281.1 kB / 0.9931 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.4035, allocations: 7.938 kB / 0.9931 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.4035, allocations: 8 kB / 0.9931 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.4035, allocations: 11.94 kB / 0.9931 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/0.404, allocations: 196.9 kB / 0.9933 GB, free: 2.895 MB / 0.7325 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.001644/0.4056, allocations: 1.193 MB / 0.9944 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.4059, allocations: 142.5 kB / 0.9946 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.4061, allocations: 100.7 kB / 0.9947 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000476/0.4066, allocations: 67.91 kB / 0.9947 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.4066, allocations: 38.56 kB / 0.9948 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.854e-06/0.4066, allocations: 0 / 0.9948 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0008537/0.4075, allocations: 291.5 kB / 0.9951 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.4075, allocations: 55.41 kB / 0.9951 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003764/0.4079, allocations: 328.5 kB / 0.9954 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.408, allocations: 29.7 kB / 0.9954 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.4081, allocations: 184.3 kB / 0.9956 GB, free: 340 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.903e-05/0.4082, allocations: 63.44 kB / 0.9957 GB, free: 276 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.222e-05/0.4083, allocations: 45.64 kB / 0.9957 GB, free: 224 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.4085, allocations: 342.8 kB / 0.9961 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.4087, allocations: 71.89 kB / 0.9961 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.4089, allocations: 204.6 kB / 0.9963 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.4094, allocations: 200 kB / 0.9965 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.4094, allocations: 3.938 kB / 0.9965 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005238/0.4099, allocations: 253.2 kB / 0.9968 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4099, allocations: 4 kB / 0.9968 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4099, allocations: 4 kB / 0.9968 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4099, allocations: 4 kB / 0.9968 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.4101, allocations: 43.91 kB / 0.9968 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4101, allocations: 8.094 kB / 0.9968 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.4104, allocations: 27.83 kB / 0.9968 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.4104, allocations: 8 kB / 0.9968 GB, free: 15 MB / 0.7481 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.0001948/0.4106, allocations: 162.3 kB / 0.997 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.4106, allocations: 31.81 kB / 0.997 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.4112, allocations: 234.2 kB / 0.9973 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.4112, allocations: 8 kB / 0.9973 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4112, allocations: 0 / 0.9973 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4112, allocations: 0 / 0.9973 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.4123, allocations: 0.6825 MB / 0.9979 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4123, allocations: 0 / 0.9979 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.4125, allocations: 35.92 kB / 0.998 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.4125, allocations: 4 kB / 0.998 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.4125, allocations: 8 kB / 0.998 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.4125, allocations: 11.92 kB / 0.998 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.4125, allocations: 4 kB / 0.998 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007612/0.4133, allocations: 441.5 kB / 0.9984 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.4134, allocations: 51.8 kB / 0.9985 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.4135, allocations: 8 kB / 0.9985 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.4136, allocations: 11.92 kB / 0.9985 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.4137, allocations: 19.92 kB / 0.9985 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.4137, allocations: 7.984 kB / 0.9985 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002855/0.414, allocations: 239.1 kB / 0.9987 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.414, allocations: 3.938 kB / 0.9987 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003977/0.4144, allocations: 79.89 kB / 0.9988 GB, free: 12.87 MB / 0.7481 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.0003966/0.4148, allocations: 157.9 kB / 0.999 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004724/0.4153, allocations: 191.6 kB / 0.9991 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4153, allocations: 0 / 0.9991 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.4155, allocations: 87.81 kB / 0.9992 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000889/0.4164, allocations: 168.1 kB / 0.9994 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.4175, allocations: 0.6346 MB / 1 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.418, allocations: 0.7871 MB / 1.001 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002126/0.4182, allocations: 62.92 kB / 1.001 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.633e-05/0.4183, allocations: 23.44 kB / 1.001 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of SimCode: time 5.91e-07/0.4183, allocations: 0 / 1.001 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of Templates: time 0.01214/0.4304, allocations: 6.008 MB / 1.007 GB, free: 4.793 MB / 0.7481 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=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.589413834037259] Failed to read output from testmodel.py, exit status != 0: 0.43825814209412783 0.763767647 0.360543235 Calling exit ...